fix: append color picker popup to dialog element (#12344)
This commit is contained in:
@@ -49,6 +49,7 @@ function initPicker(el) {
|
||||
content: picker,
|
||||
placement: 'bottom-start',
|
||||
interactive: true,
|
||||
appendTo: input.closest('dialog') ?? document.body,
|
||||
onShow() {
|
||||
updatePicker(picker, input.value);
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user