Hi.
Could you change the logic of the onReset callback. I expect that it will reset the panel size to default, but the callback will be called after the reset occurs. This is useful if we are storing panel values in localStorage and I need to know what value should be reset. It would also be cool to pass sizes like onDragEnd
Hi. Could you change the logic of the onReset callback. I expect that it will reset the panel size to default, but the callback will be called after the reset occurs. This is useful if we are storing panel values in localStorage and I need to know what value should be reset. It would also be cool to pass sizes like onDragEnd
https://github.com/johnwalley/allotment/blob/main/src/allotment.tsx#L182