Skip to content

Commit

Permalink
Update dojox/gesture doc with warning about events (#152)
Browse files Browse the repository at this point in the history
Add warning explaining that dojox/gesture/Base prevents the default
action on all events emitted from non-form field elements.
  • Loading branch information
Matt Wistrand authored and dylans committed Oct 25, 2017
1 parent 93e59b3 commit f2ebdf8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions dojox/gesture.rst
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ The common parental class for all gesture implementations. It takes most routine
3. Fire and bubble gesture events.

Caution: to ensure that gestures work properly across all supported devices, dojox/gesture/Base prevents the default action on events, with the exception being events fired on form elements. As a result, it is best to apply gestures to specific elements, rather than to their ancestor nodes.


dojox/gesture/tap
=================
Expand Down

0 comments on commit f2ebdf8

Please sign in to comment.