Open the-dream-machine opened 1 month ago
I noticed this as well for controlled nested drawers. On v0.9.2
it works, but the parent drawer does not reset scaling on close. Since v0.9.4
it's not possible to use a nested drawer in controlled mode at all (as onOpenChange
is not triggered).
I can confirm this is still an issue in v.1.0.0
. As @lgraubner mentioned, scaling is also not reset on close. Perhaps you should consider re-implementing this component with state machines. The functionality is too complex to read/track all the possible states. A well modeled state machine will eliminate a whole class of state related bugs like this one.
I can also confirm this is an issue. Waiting for a big fix...
The
<Drawer.NestedRoot/>
component doesn't fire theonOpenChange
callback.Example nested drawer
Example Parent drawer
I'm on
"@remix-run/dev": "2.10.2"
and"vaul": "0.9.4"