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
I think the problem is that we're not watching for/reacting to changes in the direction prop at all levels. Could be as simple as introducing a useMemo or useEffect, but it could also be as complex as needing to reinitialize each panel.
I'd like to dictate the direction of resizable container depending on the size of the screen. I may be doing this the wrong way...
Relevant code snippets:
const { width } = useWindowDimensions();
...
<EuiResizableContainer direction={width <= 920 ? "vertical" : "horizontal"}> ....
As soon as it hits the threshold, The following error happens:
The text was updated successfully, but these errors were encountered: