[Webkit-unassigned] [Bug 243107] New: Safari re-snapping repetedly on Twitter timeline after adding scroll snap user styles
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Jul 22 12:12:42 PDT 2022
https://bugs.webkit.org/show_bug.cgi?id=243107
Bug ID: 243107
Summary: Safari re-snapping repetedly on Twitter timeline after
adding scroll snap user styles
Product: WebKit
Version: Safari 15
Hardware: Mac (Intel)
OS: macOS 12
Status: NEW
Severity: Normal
Priority: P2
Component: CSS
Assignee: webkit-unassigned at lists.webkit.org
Reporter: sime.vidas at gmail.com
Steps to reproduce:
1. Open https://twitter.com/home
2. Run the following code in the JS console to inject scroll snap user styles to page:
document.body.insertAdjacentHTML(
"beforeend",
`
<style>
html {
scroll-snap-type: y proximity !important;
}
article {
scroll-snap-align: start !important;
}
[aria-label="Home timeline"] > :first-child {
position: static !important;
scroll-snap-align: start !important;
}
[aria-label="New Tweets are available."] {
display: none !important;
}
</style>
`
);
3. Start scrolling the page down repeatedly.
What happened?
At certain points, Safari will start re-snapping different tweets to the top while the user is doing nothing.
I have recorded a video of the issue: https://www.youtube.com/watch?v=i99ADUX9uak
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20220722/776cbe78/attachment.htm>
More information about the webkit-unassigned
mailing list