Skip to content

Snap scrolling support #42

@twinkelmann

Description

@twinkelmann

Adding snap scrolling to the basic example seems to break the drag (nothing happens on dragging).

CSS to add on element that has v-drag-scroller:

 scroll-snap-type: y mandatory;

CSS to add on one or more children:

scroll-snap-align: start;

Expected behavior

Drag scrolling should operate like without snap scrolling. On release, the browser should be left to handle the snap from the current scroll position.

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions