migaku-official / migaku-browser-extension-issue-tracker

An issue tracker for bugs and other issues related to the Migaku browser extension.
2 stars 0 forks source link

[Reader] Scroll position from Home screen is retained between sections #29

Open ChristopherFritz opened 2 years ago

ChristopherFritz commented 2 years ago

Describe the bug When selecting the different navigation links (Home, Library, Settings, Reader, (?)), the new page opens at the same scroll position as the Home screen's scroll position.

To Reproduce Steps to reproduce the behavior:

  1. Add enough books that the Home screen shows a scrollbar. Resizing the browser window to a smaller size helps with this.
  2. Scroll down the Home screen in any amount.
  3. Click on another section's icon, such as Settings.
  4. The scroll position remains the same as on the Home screen.
  5. Sometimes the scroll position will jump to the top of the page after about four seconds, but not always.

Expected behavior The scroll position should be at the top of the page upon navigating to a new screen.

Screenshots Scrolled down the Home page: Screenshot_20220213_110415

After clicking the Reader icon: Screenshot_20220213_110431

Desktop

KieranBrannigan commented 2 years ago

Hi, thanks for the report 👍 I have reproduced this and noted it down so it will be fixed as soon as possible.