WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
255646
[css-scroll-snap] search for text on page with scroll snap on html fails
https://bugs.webkit.org/show_bug.cgi?id=255646
Summary
[css-scroll-snap] search for text on page with scroll snap on html fails
Johannes Odland
Reported
2023-04-18 23:38:11 PDT
Created
attachment 465978
[details]
Screen recording of the issue Searching for a text on a page with scroll-snap on html fails. The user can find the text, but after the browser has scrolled the text into view it snaps back to the previous snap position. Steps to reproduce: 1. Open a page with scroll-snap on root (
https://johannesodland.github.io/browserbugs/safari-scroll-snap-scroll-to-top-issue.html
) 2. Tap the url-bar and enter a text. 3. Under "On this page" select "Find <text>" Expected result: The page is scrolled to a snap position where the text is visible and snaps to this position Actual result: The page is scrolled to a scroll position where the text is visible, but then snaps back to the previous snap position
Attachments
Screen recording of the issue
(2.40 MB, video/mp4)
2023-04-18 23:38 PDT
,
Johannes Odland
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2023-04-25 23:39:21 PDT
<
rdar://problem/108543679
>
Johannes Odland
Comment 2
2023-05-22 04:27:05 PDT
Retested on iOS 16.5 The issue is still present
Johannes Odland
Comment 3
2023-09-19 09:04:44 PDT
Retested on iOS 17. The page still snaps back to the top after scrolling to show the searched text.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug