mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-06-11 00:55:59 -04:00
* Always jump article to top when header is offscreen Closes #4069. How to test the feature manually: 1. Disable 'Stick the article to the top when opened' 2. Open a very long article 3. No scrolling will occur if you close it again while the header is still onscreen 4. If the header left the screen, opening another article will scroll to it to top 5. Same for collapsing the current article, but then it'll put the current header at the top * Compensate for layout shift * Fix going back to previous article above viewport * clarify variable name: header_off_screen → header_above_viewport