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

React Aria Components Modal is sensitive to misconfigured animations #6225

Open
pakettiale opened this issue Apr 18, 2024 · 0 comments
Open

Comments

@pakettiale
Copy link

Provide a general summary of the issue here

Using the first example in Modal documentation I noticed that if you do not copy the key-frames definition into css the Modal cannot close itself because one of the useExitAnimation hooks in ModalOverlayWithForwardRef get stuck as true.

🤔 Expected Behavior?

Modals should close even if css makes no sense.

😯 Current Behavior

Modal is stuck open but DialogTrigger thinks that it is closed.

💁 Possible Solution

No response

🔦 Context

No response

🖥️ Steps to Reproduce

https://codesandbox.io/p/sandbox/eager-maria-nq52gk

Version

react-aria-components: 1.1.1

What browsers are you seeing the problem on?

Firefox, Chrome

If other, please specify.

No response

What operating system are you using?

Linux

🧢 Your Company/Team

No response

🕷 Tracking Issue

No response

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

No branches or pull requests

1 participant