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
In every child passed to this component, I have a button allowing to collapse said children. The is also another button allowing me to load more data in the child component. In other words, my height is dynamic and can change in different ways.
I would like to now how to transform my height into grid values. that way, I can set my new height in the layout.
This is partially working, I ma juste totally unable to find a function to translate my px into grid units.
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
-
Hi.
Several people have asked this already, but no answer has been given.
I do have a react responsive grid layout
these are the props passed to it
In every child passed to this component, I have a button allowing to collapse said children. The is also another button allowing me to load more data in the child component. In other words, my height is dynamic and can change in different ways.
I would like to now how to transform my height into grid values. that way, I can set my new height in the layout.
This is partially working, I ma juste totally unable to find a function to translate my px into grid units.
thanks.
Beta Was this translation helpful? Give feedback.
All reactions