Make WordPress Core

Opened 4 years ago

#53698 new defect (bug)

Published posts auto scrolls on reload

Reported by: alanjacobmathew's profile alanjacobmathew Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Editor Keywords:
Focuses: Cc:

Description

Theme: Twenty Twenty and Twenty Twenty-One. No Plugins Installed
Versions Tested: 5.7.2 and 5.8 RC4

This might be an isolated issue. but I was able to reproduce in stable 5.7.2 and 5.8 RC4. I was only able to reproduce the issue at some places where I end keeping up the scroller.

Steps to reproduce:
Publish any post with GB editor.
Open the published link in new tab.
Place the scroller one the line where the header and body divides(use 2021 theme to see max jump).
Reload page using keyboard

Expected Result: Page reloads normally and without any content scrolled.

Also, when the scroller is above the fold initially, it will scroll down only till the first content block. If the scroller is below the fold then it will scroll up to the first content.

Attaching gifs to explain it better.

Attachments (3)

auto scroll on reload (2021 theme).gif (892.1 KB) - added by alanjacobmathew 4 years ago.
auto scroll on reload (2021 theme) opp direction.gif (1.1 MB) - added by alanjacobmathew 4 years ago.
auto scroll on reload (2020 theme).gif (769.6 KB) - added by alanjacobmathew 4 years ago.

Change History (3)

Note: See TracTickets for help on using tickets.