Skip to content

Conversation

@karinevieira
Copy link
Contributor

I’ve removed the close animations from dialogs because they weren’t working in production. The issue is that all elements are removed from the DOM before the close animation can run. Since the state = closed parameter only hides the element but doesn't delay its removal, the animation never gets a chance to execute.

In our project, these animations also caused flaky tests to appear. We removed them locally to stabilize the tests, but we believe they should be removed from the library as well.

Copy link
Contributor

@stephannv stephannv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perfect

@stephannv stephannv merged commit d0490e6 into ruby-ui:main Jun 26, 2025
2 checks passed
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