Files
FreshRSS/p/scripts
Frans de Jonge aaae9ee388 Always jump article to top when header is offscreen, also when 'Stick the article to the top when opened' is disabled (#8870)
* 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
2026-06-05 15:31:42 +02:00
..