f
This commit is contained in:
@@ -76,8 +76,8 @@ window.TagAutocomplete = (() => {
|
|||||||
dropdown.addEventListener('touchstart', () => { dropdownTouching = true; }, { passive: true });
|
dropdown.addEventListener('touchstart', () => { dropdownTouching = true; }, { passive: true });
|
||||||
dropdown.addEventListener('touchend', () => {
|
dropdown.addEventListener('touchend', () => {
|
||||||
dropdownTouching = false;
|
dropdownTouching = false;
|
||||||
// Re-focus input so user can keep typing after scrolling
|
// Note: do NOT re-focus input here — that would reopen the mobile keyboard.
|
||||||
input.focus();
|
// The keyboard only comes back when the user explicitly taps the input.
|
||||||
}, { passive: true });
|
}, { passive: true });
|
||||||
dropdown.addEventListener('touchcancel', () => { dropdownTouching = false; }, { passive: true });
|
dropdown.addEventListener('touchcancel', () => { dropdownTouching = false; }, { passive: true });
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user