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 have created a dynamic add and close app with react-layout-grid. I have an issue however whenever I close an element, the element next to the one closed takes the shape of the closed element especially when the closed element is enlarged.
I would like the behaviour to be akin to this - close an element and other elements remain stationary (in their current positions).
How would I go about maintaining the positions of the remaining elements upon closing an element?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I have created a dynamic add and close app with react-layout-grid. I have an issue however whenever I close an element, the element next to the one closed takes the shape of the closed element especially when the closed element is enlarged.
I would like the behaviour to be akin to this - close an element and other elements remain stationary (in their current positions).
How would I go about maintaining the positions of the remaining elements upon closing an element?
The codesandbox for my case is here.
Beta Was this translation helpful? Give feedback.
All reactions