mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2025-06-02 06:34:06 +00:00

The previous fix changed the scrolling behaviour such that it only scrolled to the top of a tiddler if the tiddler was entirely offscreen. It wasn’t entirely satisfactory because scrolling was prevented even if only a few pixels of a tiddler are in view. This commit ensures that the scroll does occur if less than 50 pixels of the target is in view