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

Scroll direction inverted using mouse wheel in Firefox (Mac and Linux) #208

Open
gav- opened this issue Aug 16, 2021 · 6 comments
Open

Scroll direction inverted using mouse wheel in Firefox (Mac and Linux) #208

gav- opened this issue Aug 16, 2021 · 6 comments

Comments

@gav-
Copy link

gav- commented Aug 16, 2021

When editing a long table with many rows, and using the mouse wheel to scroll through table, the direction is inverted from normal page scrolling, completely confusing and super frustrating.

Trying to be clear:

  • Pushing the mouse wheel away (up) scrolls my web page towards the top of page, but the editable table towards the bottom
  • Pulling the mouse wheel towards me (down) scrolls my web page towards the bottom of page, but the editable table towards the top

This is under Linux Mint 20 (Ubuntu 20.04) using Firefox (90.0.2). The problem does not appear using Chrome (90.0.4430.85)

@stapelberg
Copy link

I’m seeing the same thing. Chrome works fine, in Firefox scrolling is reversed. This also happens on a Mac, not just on Linux.

@stapelberg
Copy link

stapelberg commented Aug 20, 2021

It looks like the edittable plugin is using an old version of https://github.com/handsontable/handsontable.

Perhaps updating to a more recent version includes a fix, or at least allows us to report this problem upstream at handsontable.

Edit: ugh, looks like starting with version 7, handsontable is no longer open-source :( “Starting with version 7.0.0, there is only one Handsontable, as Handsontable Pro has been merged with Handsontable Community Edition.”

@gav-
Copy link
Author

gav- commented Aug 20, 2021

The handsontable example page does not show the bug to me under firefox, so presumably they fixed it at some point:
https://handsontable.com/examples

Yep @stapelberg I see 6.2.2 is the last version with the MIT licence, the version bundled with edittable appears to be 0.34.0. There are a lot of commits between the two tags so it might still be possible to upgrade. (No idea if the API changed between them though)

@gav- gav- changed the title Scroll direction inverted using mouse wheel in Firefox Scroll direction inverted using mouse wheel in Firefox (Mac and Linux) Aug 20, 2021
@it-ben
Copy link

it-ben commented Feb 3, 2022

Hey there, I've the same issue with Firefox on Windows.
Would be nice to fix this ;-)

@Hakker
Copy link

Hakker commented Mar 23, 2022

Another person who would appreciate this fixed sometime. I think I tried applying the updated library to the plugin but I believe that broke it and just to poor at programming to fix it.

@dregad
Copy link

dregad commented Nov 29, 2022

Did anyone ever try to adapt the plugin to use Handsontable 6.2.2 ?

frank-fegert added a commit to frank-fegert/edittable that referenced this issue Feb 29, 2024
Fixed the issue (cosmocode#208) with
a reversed (up <-> down) scrolling direction when the mouse wheel is used.
This is done by backporting the change:
  handsontable/handsontable@378ab1f
in the bundled "handsontable" JavaScript library from version 0.38.0 to
version 0.34.1 which is bundled with the edittable plugin.
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

5 participants