dockview icon indicating copy to clipboard operation
dockview copied to clipboard

Save group restrictions as a part of layout object

Open radqut opened this issue 1 year ago • 2 comments

Describe the bug The group constraints doesn't save and restore after layout persitance.

To Reproduce Link to Codesandbox

https://github.com/mathuo/dockview/assets/50011226/e198688d-0b74-4929-931b-91eb578ffe7c

Expected behavior The group constraints should be saved and restored after layout persistence.

radqut avatar Feb 05 '24 15:02 radqut

Group constraints currently come with quite a few limitations including the fact they are not persisted. It would need some careful though into how this might work if it was added.

I will leave this issue open and investigate at some point in the future.

mathuo avatar Feb 29 '24 20:02 mathuo

Tracking in https://github.com/mathuo/dockview/issues/640

mathuo avatar Jul 11 '24 20:07 mathuo

1.17.1 Releases changes related to initial, maximum and minimum sizes as well as a small change to prevent group resizing when moving groups.

See http://localhost:3000/docs/core/panels/add#minimum-and-maximum

See https://github.com/mathuo/dockview/issues/708 for continued work on group size preservation

mathuo avatar Sep 05 '24 18:09 mathuo