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 Animation handling in Modal component #1489

Merged
merged 15 commits into from
May 16, 2024
Merged

Conversation

felixhabib
Copy link
Contributor

@felixhabib felixhabib commented May 9, 2024

While Modal currently has an exit transition, it looks like a fall-through in a switch statement has prevented this from ever showing.

This change:

  • Prevents fall through behaviour in the switch statement
  • Smooths out the behaviour of the Drawer and Dialog exit animations
  • Refactors animation style logic
  • Fixes typo in horizontalTransition
  • Updates Dialog docs page to add seperate state for the Dialog's width and open status

@felixhabib felixhabib requested a review from a team as a code owner May 9, 2024 03:56
Copy link

changeset-bot bot commented May 9, 2024

🦋 Changeset detected

Latest commit: 28ed583

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
braid-design-system Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@felixhabib felixhabib marked this pull request as draft May 9, 2024 04:44
@felixhabib felixhabib marked this pull request as ready for review May 9, 2024 04:46
@felixhabib felixhabib merged commit e9fae1b into master May 16, 2024
8 checks passed
@felixhabib felixhabib deleted the update-modal-reducer-logic branch May 16, 2024 00:51
@seek-oss-ci seek-oss-ci mentioned this pull request May 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants