We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 83d1037 commit e45268bCopy full SHA for e45268b
packages/uui-base/lib/utils/drag.ts
@@ -25,10 +25,9 @@ export const drag = (
25
// TouchEvent is not available in Firefox
26
if ('TouchEvent' in window && event instanceof TouchEvent) {
27
pointerEvent = event.touches[0];
28
- } else if ( event instanceof PointerEvent ) {
+ } else if (event instanceof PointerEvent) {
29
pointerEvent = event;
30
- }
31
- else {
+ } else {
32
return;
33
}
34
0 commit comments