Closed tvhong closed 1 year ago
Hm.. I can't reproduce this on Anki on my Mac.
The logic of scrolling is:
let movementSize = window.innerHeight * getMovementFactor(e.code);
https://github.com/tvhong/incremental-reading/blob/main/ir/web/scroll.js#L40
window.innerHeight
is the height of the view window, and the movementFactor are configurable via the add-on's configuration:
So, scrolling by 5% of view window should be consistent across articles of different length. So, the behavior on my Mac makes sense.
Maybe I made a mistake when reporting this issue?
Describe the bug If the IR note is long enough, the Up and Down arrow keys scroll too far and this makes the keys unusable for reading.
To Reproduce Steps to reproduce the behavior:
Expected behavior Up and Down arrow keys should only scroll half a page to a full page.