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
When a Tray's open prop is toggled from true to false, the inner contents are unmounted, then re-mounted, then unmounted again. It should only unmount without re-mounting.
This used to be a problem on upon opening a tray, but that was previously resolved, cf. #1315
aaronshaf
changed the title
Tray close still triggers needless re-mounts/unmouns of tray contents
Tray close still triggers needless re-mounts/unmounts of tray contents
Oct 28, 2023
Background Information
Package Version(s):
8.46.1
Browser:
Chrome
Component:
Tray
Describe the Bug
When a Tray's open prop is toggled from true to false, the inner contents are unmounted, then re-mounted, then unmounted again. It should only unmount without re-mounting.
Steps To Reproduce
Go here and inspect the console: https://codesandbox.io/s/charming-forest-d58zr4
Open, then close the tray.
Screenshots
Requested Priority:
High. It affects our use of React/TanStack Query.
The text was updated successfully, but these errors were encountered: