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.
dgrid/extensions/DnD
usesdojo/dnd/Source
which registers an event handler usingon(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.