Closed phxgg closed 6 months ago
For some reason, onOpenChange gets called twice when a user clicks outside the drawer.
onOpenChange
This does not happen when a user manually drags the drawer to the bottom.
Observe console logs on this sandbox: https://codesandbox.io/p/devbox/drawer-with-scale-forked-t29rgr
encountering same issue, please fix maintainers!!
Fixed in #297
For some reason,
onOpenChange
gets called twice when a user clicks outside the drawer.This does not happen when a user manually drags the drawer to the bottom.
Observe console logs on this sandbox: https://codesandbox.io/p/devbox/drawer-with-scale-forked-t29rgr