updates to transparency filtering, fixing mass tag edit autocomplete
This commit is contained in:
@@ -262,7 +262,15 @@
|
||||
// Autocomplete
|
||||
// ---------------------------
|
||||
function setupAutocomplete() {
|
||||
if (!dom.tagInput || !dom.autocomplete) return;
|
||||
if (!dom.tagInput) return;
|
||||
|
||||
// Move autocomplete dropdown to body to escape transform containing block
|
||||
// (CSS transform on parent creates new stacking context that breaks fixed positioning)
|
||||
if (dom.autocomplete && dom.autocomplete.parentNode !== document.body) {
|
||||
document.body.appendChild(dom.autocomplete);
|
||||
}
|
||||
|
||||
if (!dom.autocomplete) return;
|
||||
|
||||
// Show autocomplete on focus
|
||||
dom.tagInput.addEventListener('focus', () => {
|
||||
|
||||
Reference in New Issue
Block a user