johnwalley / allotment

A React component for resizable split views
https://allotment.mulberryhousesoftware.com/
MIT License
990 stars 55 forks source link

Persist Snap #721

Open aress31 opened 11 months ago

aress31 commented 11 months ago

On remount snap state should be persist.

At the minute the current panel sizes/proportions are persisted which is the expected behaviour, but extending this behaviour to snapwould make for a more consistent global behaviour.

Alternatively, considering a prop like persistSnap would work fine as well.