-
-
Notifications
You must be signed in to change notification settings - Fork 119
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
snapPoints
are confusing/don't seem to work as advertised
#306
Comments
I think I figured it out. The |
This caught me out too. It's not clear in the docs at all. Thanks @tibbe |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If I set
snapPoints={[55, 100]}
I'd expect that the card would cover 55% or 100% of the viewport but that doesn't seem to be the case at all. The size of the card seems to be whatever fits the contents and if the contents is smaller than 55% of the screen then I can't pull the card up to cover 55%/100%. I can pull it up some small, "random" amount. Standalone sample app using 0.71.7:App.tsx:
Initial size:
Fully pulled up size:
The text was updated successfully, but these errors were encountered: