diff options
| author | 2025-11-05 03:51:33 -0700 | |
|---|---|---|
| committer | 2025-11-05 11:51:33 +0100 | |
| commit | 63fe7438784cd56b9291d2a0dee3f872a53c7ae0 (patch) | |
| tree | 3e6302181e6fdaa012c6c043c7ec5de1a6fb2e2f /cli/create-user.php | |
| parent | 0587ccaff844701b08306440c96c89cefa21b2c9 (diff) | |
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>
Diffstat (limited to 'cli/create-user.php')
0 files changed, 0 insertions, 0 deletions
