Re: [csswg-drafts] [css-scroll-snap] Snapping to center of zoomed image in gallery (#3583)

https://output.jsbin.com/ruhajoz

https://user-images.githubusercontent.com/6010774/169926383-dc68bd0c-f0ca-4f32-937f-446a8572e5a7.mov

- Zoom in on a touchscreen device or with a trackpad (so it makes the VisualViewport not cover the entire viewport)
- Notice how it is possible to pan left and right, but not up and down on the card

For image galleries, this makes a really bad user experience. This recording is from Firefox, the same issue is seen on Chrome and iOS safari.

I think this is in the spec - it talks about scroll snapping being relative to the visual viewport, which changes when zoomed in

-- 
GitHub Notification of comment by pfgithub
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3583#issuecomment-1135281849 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 24 May 2022 00:52:18 UTC