First, thank you for this amazing library of components!
Problem:
-
When I attach an onPanelWidthChange on an EuiResizableContainer, the provided argument only gives sizes for two panels that are currently change.
-
Furthermore, it assumes those two panels are the only ones in the container, such that one panel takes up the space of the other panels not indexed in the provided object.
-
I have to end up doing _.extend({}, oldState, newState) but this is problematic too because of (2) above.
Not sure how to solve this atm. Any help would be greatly appreciated.
First, thank you for this amazing library of components!
Problem:
When I attach an
onPanelWidthChangeon anEuiResizableContainer, the provided argument only gives sizes for two panels that are currently change.Furthermore, it assumes those two panels are the only ones in the container, such that one panel takes up the space of the other panels not indexed in the provided object.
I have to end up doing
_.extend({}, oldState, newState)but this is problematic too because of (2) above.Not sure how to solve this atm. Any help would be greatly appreciated.