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
Simply using <Collapsible collapsed={isCollapsed}>
with a toggle in a <PressableScale onPress={() => setIsCollapsed((prev) => !prev)}>
Problem is the component just starts closed not caring of initail state passed as prop.
useEffect on mount setting isCollapsed STILL to false triggers a re-rendering making it to open.
Switching back to 1.6.1 worked fine.
malikzype, colbymchenry, e-nicolas, colby-mchenry, MDSADABWASIM and 12 moremalikzype