kobalte icon indicating copy to clipboard operation
kobalte copied to clipboard

AlertDialog/Dialog animation broken when using controlled-open

Open xhanl opened this issue 1 year ago • 0 comments

Describe the bug

  • Follow the #controlled-open, use a singal to control dialog open.
  • When the prop open false, It will disappear directly without any exit animation.
  • Both AlertDialog and Dialog have the same problem

To Reproduce

Steps to reproduce the behavior:

  1. Copy the Example from doc.
  2. Create a custom button by following the #controlled-open
  3. 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

xhanl avatar Oct 21 '24 15:10 xhanl