mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-11 19:49:18 +08:00
fix(scroll-assist): touch end events continue to bubble on inputs (#25282)
resolves #25229
This commit is contained in:
@@ -27,8 +27,6 @@ export const enableScrollAssist = (
|
|||||||
// focus this input if the pointer hasn't moved XX pixels
|
// focus this input if the pointer hasn't moved XX pixels
|
||||||
// and the input doesn't already have focus
|
// and the input doesn't already have focus
|
||||||
if (!hasPointerMoved(6, coord, endCoord) && !isFocused(inputEl)) {
|
if (!hasPointerMoved(6, coord, endCoord) && !isFocused(inputEl)) {
|
||||||
ev.stopPropagation();
|
|
||||||
|
|
||||||
// begin the input focus process
|
// begin the input focus process
|
||||||
jsSetFocus(componentEl, inputEl, contentEl, footerEl, keyboardHeight);
|
jsSetFocus(componentEl, inputEl, contentEl, footerEl, keyboardHeight);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user