Skip to content

Commit

Permalink
fix(scroll): Do not ignore taps if the target was an input, #997
Browse files Browse the repository at this point in the history
  • Loading branch information
adamdbradley committed Apr 1, 2014
1 parent 38cb08d commit e6f5623
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion js/views/scrollView.js
Original file line number Diff line number Diff line change
Expand Up @@ -618,7 +618,7 @@ ionic.views.Scroll = ionic.views.View.inherit({

function shouldIgnorePress(e) {
// Don't react if initial down happens on a form element
return e.target.tagName.match(/input|textarea|select|object|embed/i) ||
return e.target.tagName.match(/object|embed/i) ||
e.target.isContentEditable ||
(e.target.dataset ? e.target.dataset.preventScroll : e.target.getAttribute('data-prevent-default') == 'true');
}
Expand Down

0 comments on commit e6f5623

Please sign in to comment.