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

Fix drawer transition styles #1352

Merged
merged 1 commit into from Jul 31, 2023
Merged

Fix drawer transition styles #1352

merged 1 commit into from Jul 31, 2023

Conversation

sebnitu
Copy link
Owner

@sebnitu sebnitu commented Jul 31, 2023

Problem

Because of a recent change with the transition module, drawers can no longer depend on the transition event to fire off the dialog element. This was relied on for the drawer component in its inline state to open and close.

Solution

This PR fixes the transition bug by moving the inline transition styles to the base .drawer element instead of the .drawer__dialog. The drawer modal transition also needed to be updated since it relied on the previous styles. Lastly, the drawer manifest import order was updated to help reduce selector weight between interdependent modifiers (.drawer_switch and .drawer_modal).

Fixes #1351

@sebnitu sebnitu merged commit ba86015 into main Jul 31, 2023
2 checks passed
@sebnitu sebnitu deleted the drawer-transition branch July 31, 2023 23:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Inline drawer transitions are broken
1 participant