mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
fix(scroll): Fix scroll for devices w/out dataset support, closes #976
This commit is contained in:
@@ -623,7 +623,7 @@ ionic.views.Scroll = ionic.views.View.inherit({
|
||||
return e.target.tagName.match(IS_INPUT_LIKE_REGEX) ||
|
||||
e.target.isContentEditable ||
|
||||
e.target.tagName.match(IS_EMBEDDED_OBJECT_REGEX) ||
|
||||
e.target.dataset.preventScroll;
|
||||
e.target.dataset ? e.target.dataset.preventScroll : e.target.getAttribute('data-prevent-default') == 'true';
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user