Closed rasujan closed 2 years ago
This is actually not an issue because it should exists there in order to open the drawer with animation.
you can do one of the following actions:
isOpen
.isOpen
to dependency of the useEffect inside the drawer.If you have any ideas about how to get it fixed feel free to open a PR for that. :)
Closing due to no activity,
The content of the drawer is created on the DOM even when the drawer is closed. Which cases issue if we use useEffect hook on the drawer component itself. I also load the unnecessary components in the DOM.
As for my current workflow, I check the isOpen prop before rendering the components in the wrapper.