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

Rightmost header interferes with scrollbar #1

Closed
lzambarda opened this issue Sep 13, 2024 · 3 comments
Closed

Rightmost header interferes with scrollbar #1

lzambarda opened this issue Sep 13, 2024 · 3 comments

Comments

@lzambarda
Copy link

New version is looking great!

If a table has enough headers to reach the scrollbar area, trying to scroll by dragging the scrollbar will not be possible.

However if the user scrolls using another mean (e.g. the wheel) until the scrollbar is below the header, there will be no interference.

See example in video:

header.scrollbar.interference.mov
@kohii
Copy link
Owner

kohii commented Sep 13, 2024

Thank you so much for trying out the new version and reporting this issue!

It seems that the issue occurs because the event handler for the headers is reacting when you're trying to interact with the scrollbar.

Since the default scrollbar behavior is dependent on the OS and I can't fully control the experience, I had been considering creating a custom scrollbar.
That would solve this issue and also allow me to add some extra features. I'll work on that and let you know when it's ready.

@lzambarda
Copy link
Author

Anytime! So far this version seems to open faster than the previous one, although it seems to struggle a bit with very big spreadsheets.

Regarding this, I think the horizontal scrollbar has also some issues when there's many headers. Reporting it here just in case you end up going for a custom scrollbar implementation.

Thank you!

@kohii
Copy link
Owner

kohii commented Sep 19, 2024

This bug is fixed in the latest release!
https://github.com/kohii/smoothcsv3/releases/tag/v0.1.0-alpha.2

@kohii kohii closed this as completed Sep 19, 2024
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

2 participants