-
Notifications
You must be signed in to change notification settings - Fork 13.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(scrolling): Prevent gestures from breaking native scrolling
- Loading branch information
1 parent
7bf1207
commit e917cae
Showing
4 changed files
with
33 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
I am experiencing a regression here concerning issue 1729. On Android 4.4.2 drag gestures will be canceled immediately, unless I pass
{prevent_default_directions = ['left', 'right']}
as fourth argument to$ionicGesture.on
. Although I don't use native scrolling.I think
preventDefault();
should be the default, if'overflow-scroll'
isn't present? With the current behavior it breaks drag gestures when using Ionic scroll.