Devtools support for scrolling snap points
Categories
(DevTools :: Inspector, enhancement, P3)
Tracking
(Not tracked)
People
(Reporter: pbro, Unassigned)
References
(Depends on 1 open bug)
Details
Comment 1•9 years ago
|
||
| Reporter | ||
Comment 2•9 years ago
|
||
Comment 3•9 years ago
|
||
Updated•7 years ago
|
Comment 4•6 years ago
|
||
The updated version of scroll snapping shipped in Firefox 68. So, there shouldn't be anything holding up the implementation anymore. (Except for resource constraints, of course. 😊)
The implementation should visualize the scroll-margin, scroll-padding, and scroll-snap-align values, maybe also scroll-snap-type. Only scroll-snap-stop is not implemented yet.
Sebastian
Updated•3 years ago
|
Comment 5•1 year ago
|
||
FWIW, the Chrome DevTools have an implementation for this. They show a "scroll-snap" badge besides the scroll container. Clicking it enables the highlighter, which shows snap points as dots, the scroll snap areas with dashed lines (even outside the scrollport), the scroll margins in yellow (like the box highlighter), and the scroll padding as a purple outline. It does not indicate the scroll snap type, nor the scroll snap stop value.
An MVP for this might show the scroll snap point for the currently snapped scroll snap area.
Sebastian
Description
•