kobalte
kobalte copied to clipboard
AlertDialog/Dialog animation broken when using controlled-open
Describe the bug
- Follow the #controlled-open, use a singal to control dialog open.
- When the prop
openfalse, It will disappear directly without any exit animation. - Both
AlertDialogandDialoghave the same problem
To Reproduce
Steps to reproduce the behavior:
- Copy the Example from doc.
- Create a custom button by following the #controlled-open
- Minimal Reproduction
Expected behavior When closing the Dialog with prop open, there should be a correct exit animation.
Desktop (please complete the following information):
- OS: macOS
- Browser: Safari
- Version: 15.0.1