fix: append color picker popup to dialog element (#12344)

This commit is contained in:
Victor Gonzalez 2026-05-06 14:10:50 +02:00
parent 1cdef7d39f
commit 8bb8ae30e1
No known key found for this signature in database
GPG key ID: 9E0D2F461B1366B7

View file

@ -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);
},