Skip to content

Commit

Permalink
Fix #1582 by adding pointercancel and pointerleave event listeners (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
vnbaaij authored Feb 27, 2024
1 parent b0a24ce commit bb9b53d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/Core/Components/DataGrid/FluentDataGrid.razor.js
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,8 @@ function enableColumnResizing(gridElement) {
dragHandle.addEventListener('pointerdown', initResize);
dragHandle.addEventListener('pointermove', onPointerMove);
dragHandle.addEventListener('pointerup', onPointerUp);
dragHandle.addEventListener('pointercancel', onPointerUp);
dragHandle.addEventListener('pointerleave', onPointerUp);
}
});
}

0 comments on commit bb9b53d

Please sign in to comment.