-
Notifications
You must be signed in to change notification settings - Fork 46
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
Prop for initial height #39
Comments
I have had the same issue and created a ugly workaround for this.
I wrapped this in a own component and you have to call the open method from the higher order component. This is super ugly and I really unlike this, so it would be very nice if this could be fixed in a future release. |
add a CSS transition and it will transition smoothly.
|
Right now we have a prop for maxHeight, but it will be nice if this component has props which are similar to native bottom sheet component or a simple prop for setting initial height in addition to the max height.
For example, i would like the bottom sheet to start off short first at 90px, then users can drag it to a max height of 80% of the viewport height.
Initial height
Max height
The text was updated successfully, but these errors were encountered: