Open ghost opened 5 months ago
Does it only happen when the modal prop is set to false?
Yeah, that’s what I noticed, you can try it yourself in the codesandbox
On Sat Feb 3, 2024, 08:30 PM GMT, Emil Kowalski @.***> wrote:
Does it only happen when the modal prop is set to false? — Reply to this email directly, view it on GitHub https://github.com/emilkowalski/vaul/issues/253#issuecomment-1925448249, or unsubscribe https://github.com/notifications/unsubscribe-auth/A6TXO6XHR7XAH7XT2ZQ776LYR2NAFAVCNFSM6AAAAABCXELISOVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMRVGQ2DQMRUHE. You are receiving this because you authored the thread.Message ID: @.***>
Can confirm this. modal={false}
is broken currently.
https://codesandbox.io/p/devbox/nested-modal-with-input-2-6wt446
Repro:
Expected: Drawer will close as it does when
modal={true}
. Seen: Drawer doesn't close and jitters and gets stuck.