Skip to content

Commit

Permalink
fix: call dxpointercancel after dragstart for safari
Browse files Browse the repository at this point in the history
  • Loading branch information
chaosmirage committed Dec 13, 2024
1 parent b001f56 commit fd719c9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/devextreme/js/__internal/events/pointer/m_mouse.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,8 @@ const eventMap = {
dxpointerdown: 'mousedown',
dxpointermove: 'mousemove',
dxpointerup: 'mouseup',
dxpointercancel: 'pointercancel',
// `dragstart` is used for safari: https://bugs.webkit.org/show_bug.cgi?id=222632
dxpointercancel: 'pointercancel dragstart',
dxpointerover: 'mouseover',
dxpointerout: 'mouseout',
dxpointerenter: 'mouseenter',
Expand Down

0 comments on commit fd719c9

Please sign in to comment.