You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When you call .present on a BottomSheetModal there are no parameters and it slides up using the standard animation.
Why it is needed
With things like a player modal which you might want to display on startup, the animation is distracting. If it could be displayed instantly it would help give the sense of "restoring" the state of the modal.
Possible implementation
.present(instant: boolean = false) or via animation config.
Code sample
Per above, being able to pass in either a flag or animation config.
The text was updated successfully, but these errors were encountered:
Actually, I'm not sure that'll work like I was hoping; basically I want it to render the modal fully presented the first time in some cases. Using animateOnMount={false} still renders it invisible and then I trigger the present right after which makes it appear, but it still shows the app for a few frames before the full-screen modal.
Feature Request
When you call
.present
on aBottomSheetModal
there are no parameters and it slides up using the standard animation.Why it is needed
With things like a player modal which you might want to display on startup, the animation is distracting. If it could be displayed instantly it would help give the sense of "restoring" the state of the modal.
Possible implementation
.present(instant: boolean = false)
or via animation config.Code sample
Per above, being able to pass in either a flag or animation config.
The text was updated successfully, but these errors were encountered: