[EuiResizableContainer] Add support for onResizeStart
and onResizeEnd
callback props
#6225
Labels
feature request
good first issue
help wanted
The EUI team is looking for community members to pick up and implement this issue
While implementing a resizable layout in Discover using
EuiResizableContainer
, we ran into some conflicts withreact-reverse-portal
. We were able to implement a workaround, but it involved setting up our own event listeners to watch for when resizing starts and ends.It would simplify our use case a lot, and would probably be generally useful, if
EuiResizableContainer
accepted callback props foronResizeStart
andonResizeEnd
that would allow consumers to easily listen for when resizing starts and ends.For our use case it's only important to listen for resizing triggered by a mouse click, but it might be worth considering whether these callbacks would apply to keyboard based resizing as well.
The text was updated successfully, but these errors were encountered: