-
Notifications
You must be signed in to change notification settings - Fork 295
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
`dgrid/extensions/DnD` uses `dojo/dnd/Source` which registers an event handler using `on(node, touch.press)`. `touch.press` evaluates to `'pointerdown'` in browsers that support pointer events, and when the `'pointerdown'` listener is registered the `'mousedown'` listener is never called. This change causes Keyboard to use `touch.press` when DnD is being used. It also exposes a new configuration property, `mouseDownEventType`, which enables developers to further customize this behavior.
- Loading branch information
Showing
3 changed files
with
17 additions
and
3 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