mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
perf(input): passive event listener for touch start events (#25610)
Resolves #25599
This commit is contained in:
@@ -31,7 +31,7 @@ export const enableScrollAssist = (
|
||||
jsSetFocus(componentEl, inputEl, contentEl, footerEl, keyboardHeight);
|
||||
}
|
||||
};
|
||||
componentEl.addEventListener('touchstart', touchStart, true);
|
||||
componentEl.addEventListener('touchstart', touchStart, { capture: true, passive: true });
|
||||
componentEl.addEventListener('touchend', touchEnd, true);
|
||||
|
||||
return () => {
|
||||
|
||||
Reference in New Issue
Block a user