Describe the bug
Dockview has an auto-resize feature, but it doesn't work if the new height should be smaller than the previous one inside flex layout.
To Reproduce
Steps to reproduce the behavior:
- Go to https://stackblitz.com/edit/dockview-resize-issue?file=src%2FApp.tsx
- Make the window's height smaller
- See vertical scrollbar,
div.dv-dockview height remains the same
Expected behavior
.dv-dockview should change its size to the smaller one
Screenshots
-
Desktop (please complete the following information):
- Browser: Chrome
- Version: Version 121.0.6167.139 (Official Build) (arm64)
Additional context
(btw docs for the auto-resizing feature are missed. There is this statement in the docs Read about auto-resizing before using, but nothing about auto-resizing anywhere)
Describe the bug
Dockview has an auto-resize feature, but it doesn't work if the new height should be smaller than the previous one inside flex layout.
To Reproduce
Steps to reproduce the behavior:
div.dv-dockviewheight remains the sameExpected behavior
.dv-dockviewshould change its size to the smaller oneScreenshots
-
Desktop (please complete the following information):
Additional context
(btw docs for the auto-resizing feature are missed. There is this statement in the docs
Read about auto-resizing before using, but nothing about auto-resizing anywhere)