Bug 316084
| Summary: | scrollBy doesn't respect scroll-snap and scroll-snap-stop at all | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Lubomír Blažek <email> |
| Component: | New Bugs | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari 26 | ||
| Hardware: | Mac (Apple Silicon) | ||
| OS: | macOS 26 | ||
Lubomír Blažek
When calling scrollBy() https://developer.mozilla.org/en-US/docs/Web/API/Element/scrollBy, the scroll snapping is not respected at all
Demo:
https://codepen.io/lubomirblazekcz/pen/QwGmWGR
This works correctly in all other major browsers
Issue is present in Safari 26 and Safari Technology Preview (Release 244) on MacOS and iOS
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/179096940>