OSX - Scrolling position differs between trackpad, mouse scroll wheel, and up/down arrow keys
Describe the bug NOTE: Web version of app works as expected, I'm only noticing this on the downloaded version of the app (tested on OSX). Unsure if this happens in other operating systems.
There are three types of methods for page scrolling:
- Trackpad
- Mouse wheel
- Up/Down arrow keys
When scrolling with one method, then switching to a different method (specific scenarios in "To Reproduce" section), the scroll position jumps to the last scroll position for the new scroll method instead of retaining the current page scroll position of the last used method.
To Reproduce Steps to reproduce the bug:
- Start scrolling down with trackpad or mouse scroll-wheel until you're a good ways down
- Then use Down arrow key to try to continue scrolling down (or Up to scroll up)
- Instead of continuing scrolling from your page position, you'll jump up to the top of the page and scroll from there
It's as if the Arrow keys and Mouse wheel share a position and ignore what the Trackpad position is.
Here's all of the tested scenarios and which ones trigger it: (✅ = bug triggers)
- ✅ Switch from Trackpad to Mouse wheel
- ✅ Switch from Trackpad to Arrow keys
- ❌ Switch from Mouse wheel to Trackpad
- ❌ Switch from Arrow keys to Trackpad
- ❌ Switch from Mouse wheel to Arrow keys
- ❌ Switch from Arrow keys to Mouse wheel
Expected behavior Page scroll positions shouldn't differ depending on the scroll method used. Switching between scroll controls should continue scrolling where you left off and not jump to a different scroll vertical position of the page.
Screenshots
-
start page scroll position (using trackpad or mouse wheel)
-
end page scroll position (using trackpad or mouse wheel)
-
down arrow doesn't continue scrolling (it jumps up to scroll position of arrow keys instead of sharing scroll position across all scrolling methods)
Information about your device (please complete the following information):
- Operating System: MacOS
- Browser: Chrome
Additional context It appears that the Arrow keys and Mouse wheel share a page scroll position, and that the Trackpad is able to use that no problem, but if position changes using Trackpad, Arrow keys/Mouse wheel get's confused.
After some more testing, it looks likes this bug happens:
- ✅ Switch from Trackpad to Mouse wheel
- ✅ Switch from Trackpad to Arrow keys
- ❌ Switch from Mouse wheel to Trackpad
- ❌ Switch from Arrow keys to Trackpad
- ❌ Switch from Mouse wheel to Arrow keys
- ❌ Switch from Arrow keys to Mouse wheel
It appears that the Arrow keys and Mouse wheel share a page scroll position, and that the Trackpad is able to use that no problem.
But if scrolling with the Trackpad, then switching, the Mouse wheel and Arrow keys don't know where page scroll is at and reverts to their last (or start of page) scroll position.
I updated the bug description to include the list of scenarios that trigger this bug
I won't have time to work on this in the foreseeable future, but I just wanted to say thanks for taking the time to write an excellent bug report! It's rare to get reports this clear and thorough.