I encountered a problem when using the onReset callback: the current implementation doesn't use the default resizing mechanism for the panes. Instead, it only calls the onReset handler.
For example, if I want to add some logic, I must also provide logic for changing the sizes.
First of all, thanks for this awesome library.
I encountered a problem when using the
onReset
callback: the current implementation doesn't use the default resizing mechanism for the panes. Instead, it only calls theonReset
handler.For example, if I want to add some logic, I must also provide logic for changing the sizes.
Probably, we could call the default resizing implementation regardless of the nullability of the
onReset
callback?for (let index = 0; index < views.current.length; index++) { resizeToPreferredSize(index); } }