Bug 183158

Summary: [scroll-snap] No snap behavior when scrolling scroll-snap defined body within iframe
Product: WebKit Reporter: jonjohnjohnson <hi>
Component: Layout and RenderingAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WORKSFORME    
Severity: Normal CC: bfulgham, mrobinson, simon.fraser, wenson_hsieh, zalan
Priority: P2    
Version: Safari Technology Preview   
Hardware: Mac   
OS: macOS 10.12   

jonjohnjohnson
Reported 2018-02-26 22:26:24 PST
Could be related to or dup of this bug according to wenson_hsieh@apple.com -> https://bugs.webkit.org/show_bug.cgi?id=183157 Steps to reproduce: 1. Go to this url -> http://jsbin.com/susadajiwe/ 2. Try scrolling colored block, which is iframe with src -> https://whsieh.github.io/examples/scroll-snap-mainframe 3. Notice no snap behavior for the endpoint when in iframe, though behavior works when navigating to it independently.
Attachments
Martin Robinson
Comment 1 2021-02-12 02:42:46 PST
This fails for me in Safari, but works in Safari Technology Preview 120, so I think this has been fixed by another change.
Note You need to log in before you can comment on or make changes to this bug.