react-custom-scrollbars-2
react-custom-scrollbars-2 copied to clipboard
Issue with Right-Click Behavior on Scrollbar
I've encountered a bug. When right-clicking the scrollbar and subsequently moving the mouse, the scrollbar starts scrolling. This behavior is unexpected as right-click interactions typically do not involve scrolling functionality. The expected behavior would be for the scrollbar to remain static during right-click actions.
Steps to Reproduce:
- Right-click on the scrollbar.
- Single click outside to hide context menu
- Move the mouse without clicking any buttons
Expected Behavior: The scrollbar should not move or scroll when right-clicked and dragged.
Actual Behavior: The scrollbar starts scrolling when it is right-clicked and the mouse is moved.
Environment: MacOs
Version of react-custom-scrollbars-2 used: Latest Browser and Version: Version 120.0.6099.216 (Official Build) (arm64) OS and Version: Mac OS 14.2.1
I have attached a screen record below.
https://github.com/RobPethick/react-custom-scrollbars-2/assets/10485165/5f627b97-a80c-4376-b729-44f55449fb51