forked from mirrors/forgejo
fix: append color picker popup to dialog element (#12344)
This commit is contained in:
parent
1cdef7d39f
commit
8bb8ae30e1
1 changed files with 1 additions and 0 deletions
|
|
@ -49,6 +49,7 @@ function initPicker(el) {
|
||||||
content: picker,
|
content: picker,
|
||||||
placement: 'bottom-start',
|
placement: 'bottom-start',
|
||||||
interactive: true,
|
interactive: true,
|
||||||
|
appendTo: input.closest('dialog') ?? document.body,
|
||||||
onShow() {
|
onShow() {
|
||||||
updatePicker(picker, input.value);
|
updatePicker(picker, input.value);
|
||||||
},
|
},
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue