Bug 256191 - Clicking on Agreed/Proceed on after first reaching the site scrolls to top
Summary: Clicking on Agreed/Proceed on after first reaching the site scrolls to top
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Scrolling (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL: https://css-tricks.com/almanac/proper...
Keywords: BrowserCompat, InRadar
Depends on:
Blocks:
 
Reported: 2023-05-01 19:07 PDT by Karl Dubost
Modified: 2023-05-01 20:33 PDT (History)
2 users (show)

See Also:


Attachments
rendering in safari, firefox, chrome (962.27 KB, image/png)
2023-05-01 19:07 PDT, Karl Dubost
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Karl Dubost 2023-05-01 19:07:05 PDT
Created attachment 466164 [details]
rendering in safari, firefox, chrome

Steps to reproduce:
1. with Safari Release 168 (Safari 16.4, WebKit 18616.1.10.2)
2. Make sure you have no cookies for css-tricks.com
3. Go to https://css-tricks.com/almanac/properties/z/zoom/
4. A banner is displayed at the bottom
5. Scroll a bit to bring a different part of the page
6. Click on the Agreed and Proceed button

Expected:
After the banner goes away, the page stays at the same position after scrolling

Actual:
The page goes back to the top of the viewport.

See screenshot for 

STP 168 | MiniBrowser
----------------------
Chrome  | Firefox
Comment 1 Radar WebKit Bug Importer 2023-05-01 19:07:22 PDT
<rdar://problem/108767292>
Comment 2 Simon Fraser (smfr) 2023-05-01 20:33:42 PDT
The page is doing a reload when you accept cookies.