dockview
dockview copied to clipboard
setConstraints no longer works
Describe the bug
Using setConstraints no longer has any effect. I can still resize a group how I want. The sandbox included in the docs shows this behaviour. If I fork the sandbox and use version 1.16.0 the constraints are working.
https://dockview.dev/docs/core/groups/constraints
To Reproduce Using the sandbox from the docs, https://codesandbox.io/p/sandbox/github/mathuo/dockview/tree/gh-pages/templates/dockview/constraints/react
Steps to reproduce the behavior:
- Click set on any panel
- Resize to more than the maxWidth
- The constraints display is not shown in the panel
Using the same sandbox but with v1.16.0 https://codesandbox.io/p/sandbox/flamboyant-moon-vzxntg it works
Expected behavior
When I use setConstraints the constraints are set and they prevent the resizing beyond the min/max size