-
-
Notifications
You must be signed in to change notification settings - Fork 19
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
feat: add initialIndex
& onMount
props
#30
Conversation
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
initialIndex
& onLoad
propsinitialIndex
& onReady
props
initialIndex
& onReady
propsinitialIndex
& onMount
props
Code Climate has analyzed commit 6fa2bd0 and detected 0 issues on this pull request. View more on Code Climate. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @lodev09, I tested it thoroughly. It definitely feels snappier and faster now. Hopefully, we can get a faster easing function in a future release, but this works great for now. The auto height calculation also seems more accurate.
LGTM
Tested with and without animation, and also multiple stacks. I'll just need to adjust my paddings now, but thats fine, because its much more accurate and predictable now!
testindex.mp4
🚀 This pull request is included in v0.12.0. See Release 0.12.0 for release notes. |
initialIndex
prop to present the sheet after loading.onMount
event prop to allow presenting sheet after loading.Fixes #28