Files
FreshRSS/p/scripts
Tommaso Ferrari 63fe743878 Fix 7307 - Scroll after load (#7962)
* Fix 7307 - Scroll after load

Closes https://github.com/FreshRSS/FreshRSS/issues/7307

- Wrap the body of `loadDynamicTags()` into a Promise
- inside `mylabels()`, wait for the promise to complete, then scroll
- when `loadDynamicTags()` is not being called, return a self-resolving promise

How to test the feature manually:

1. Click on an long article
2. press keyboard shortcut `l` to go to "My labels"
3. page should scroll down
4. the `My labels` popup should be fully visible

* Rewritten as async/await
* Explicit HTTP Accept application/json

---------

Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
2025-11-05 11:51:33 +01:00
..
2022-07-17 22:54:24 +02:00
2025-11-05 11:46:46 +01:00
2025-11-05 11:51:33 +01:00
2022-05-15 21:52:52 +02:00