You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe
When OffCanvas closes, it removes the nodes from the DOM rather than hiding them. This means that any children of OffCanvasBody are unmounted (which has an impact for me).
Describe the solution you'd like
I'd like OffCanvas to stay in the DOM but just be hidden, or at least have an option to do so
Describe alternatives you've considered
Tried using createPortal, which almost works, but when switching the target of the portal from the OffCanvasBody to some other node, the children are unmounted/remounted which produces the same problem for me
Additional context
No response
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe
When OffCanvas closes, it removes the nodes from the DOM rather than hiding them. This means that any children of OffCanvasBody are unmounted (which has an impact for me).
Describe the solution you'd like
I'd like OffCanvas to stay in the DOM but just be hidden, or at least have an option to do so
Describe alternatives you've considered
Tried using createPortal, which almost works, but when switching the target of the portal from the OffCanvasBody to some other node, the children are unmounted/remounted which produces the same problem for me
Additional context
No response
The text was updated successfully, but these errors were encountered: