-
-
Notifications
You must be signed in to change notification settings - Fork 82
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
[Drawer] Create the unstyled component #38
Comments
This comment was marked as spam.
This comment was marked as spam.
@MinhMeoNguyen0, this is unrelated to the Drawer component. |
We haven't specced it yet. Do you have something specific in mind when referring to "advanced animations"? |
I implemented the component in a way that feels like a mobile bottom sheet (e.g. https://github.com/gorhom/react-native-bottom-sheet). So it allows user interactions like dragging the drawer up and down, which also allows implementing snap points. What I mean by referring to advanced animations is having animations (drag animation, spring animation, rubber band animation) handled by the unstyled drawer component. I don't know how flexible the data-starting-style and data-ending-style are but I couldn't combine these selectors with drag animations. |
We're not going to provide any animations out of the box - as the components are unstyled, we can only provide style hooks that you can use to create your own animations. The Dialog component is already flexible enough to enable creating layouts such as mobile navigation on https://base-ui.com, but we'll look into making the most common scenarios easier. |
This is the place to gather ideas, measure interest and discuss the API and implementation details of the drawer component.
See #10 for the umbrella issue to track progress on Base UI and mui/material-ui#6218 for the problem this project solves.
The text was updated successfully, but these errors were encountered: