Skip to content
This repository was archived by the owner on Nov 24, 2022. It is now read-only.

Conversation

@LucasAschenbach
Copy link

Sometimes its useful to be able to set a pixel margin from the top of the snapping sheet; for instance to avoid safe-area infringement.

This PR adds a snappingPositionAnchor argument to the SnappingPosition.pixels constructor for specifying the offset anchor to either start (default) or end.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant