Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(usePointerSwipe): handle secondary clicks properly (#2379)
Fix issue where a secondary click (the right button on a right-handed mouse) on an element using usePointerSwipe() is treated as if the primary button (left click on a right-handed mouse) has started a drag. - Rename filterEvent() to eventIsAllowed() for better clarity - Fix typo in docs and make punctuation consistent Fixes #2338
- Loading branch information
1 parent
71b08cd
commit 862d127
Showing
1 changed file
with
11 additions
and
11 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