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
Drawer currently only supports overlaying entire screen. There are use cases where this should not cover the entire screen, e.g. drawer should not overlay app header.
The solution
Provide a mechanism to target certain container for the drawer and scrim to show up.
Rather than build in Salt, add some docs to our site to explain the recommended alternatives ? @mark-tate close and replace with new documentation ticket
ADA Feedback:
To make this work, we need to:
Remove aria-modal.
Remove the focus trap.
Reflow content so that it is not overlapped by the drawer when open and ensure appropriate focus order or have the drawer collapse when focus leaves the drawer.
Recommendation:
Instead of modifying the drawer component, I recommend using the side panel component. This approach addresses the request more effectively.
origami-z
changed the title
Drawer: configurable positioning / overlaid to part of screen
Drawer update document around modal only recommendation
Aug 20, 2024
Area
UI Components
The problem
Drawer currently only supports overlaying entire screen. There are use cases where this should not cover the entire screen, e.g. drawer should not overlay app header.
The solution
Provide a mechanism to target certain container for the drawer and scrim to show up.
Need to work out accessibility implication
Alternatives and examples
Related to
Are you a JPMorgan Chase & Co. employee?
The text was updated successfully, but these errors were encountered: