mirror of
https://github.com/Jermolene/TiddlyWiki5
synced 2026-05-22 05:12:16 +00:00
8d46c18fc7
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