Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with Right-Click Behavior on Scrollbar #51

Open
c0d3-ninja opened this issue Jan 19, 2024 · 1 comment
Open

Issue with Right-Click Behavior on Scrollbar #51

c0d3-ninja opened this issue Jan 19, 2024 · 1 comment

Comments

@c0d3-ninja
Copy link

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:

  1. Right-click on the scrollbar.
  2. Single click outside to hide context menu
  3. 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.

right.click.issue.mov
@c0d3-ninja
Copy link
Author

hi @RobPethick
Can I take on the task of resolving this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant