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

[Table2 ] Scrollbar in Table2 component does not behave like a native scrollbar #6122

Open
maurodesouza opened this issue May 3, 2023 · 2 comments

Comments

@maurodesouza
Copy link

maurodesouza commented May 3, 2023

Environment

  • Package version(s): @blueprintjs/core: ^4.18.0, @blueprintjs/table: ^4.10.1,
  • Operating System: Windows 10
  • Browser name and version: Opera 98.0.4759.15

Code Sandbox

Link to a minimal repro here

Steps to reproduce

  1. In the table, scroll horizontally

Actual behavior

When scrolling horizontally in the Blueprint Table2 component using the shift key, the scrollbar allows horizontal and vertical scrolling simultaneously.

Expected behavior

The scrollbar in the Table2 component should only allow horizontal scrolling when the shift key is pressed, consistent with the expected behavior of native scrollbars in web browsers.

Possible Solution

The artificial scrollbar could be modified to align the scrollbar behavior in the Table2 component with the expected browser behavior to prevent vertical scrolling when the shift key is pressed.

@adidahiya
Copy link
Contributor

We don't test Blueprint in the Opera browser, can you include a video or gif demonstrating your issue? I can't repro it in Chrome in your sandbox:

2023-05-04 11 47 19

@maurodesouza
Copy link
Author

@adidahiya Hi!

GIF recorded in Google Chrome 112.0.5615.139

video

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

No branches or pull requests

2 participants