Skip to content
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(dialog,menu): add input flag to display in a bottom sheet style and animation #30233

Open
tommyc38 opened this issue Dec 24, 2024 · 0 comments
Labels
feature This issue represents a new feature or feature request rather than a bug or bug fix needs triage This issue needs to be triaged by the team

Comments

@tommyc38
Copy link

tommyc38 commented Dec 24, 2024

Feature Description

Maybe I am missing something but I have never understood why the Bottom Sheet component exists and why this isn't a flag for a Dialog or Menu? It would be WAY more consumable to simply throw a flag on a Menu or Dialog that displays the contents in the same style as the Bottom Sheet component does.

Use Case

The use case behind Bottom Sheet is for a mobile friendly view for dialogs and menus. Right now, you basically needto manage a Dialog/Menu component AND a Bottom Sheet component with the same content to give a streamlined web vs mobile experience. Rather than managing a Bottom Sheet component, it would be far more intuitive, require less boilerplate, and reduce duplication to simply have a flag that determines how the Dialog/Menu should be displayed. It should handle nested menus such that a new "Bottom Sheet" pages over the parent sheet with back arrows, etc.

@tommyc38 tommyc38 added feature This issue represents a new feature or feature request rather than a bug or bug fix needs triage This issue needs to be triaged by the team labels Dec 24, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature This issue represents a new feature or feature request rather than a bug or bug fix needs triage This issue needs to be triaged by the team
Projects
None yet
Development

No branches or pull requests

1 participant