You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Much more convenient not having to use window.innerWidth / window.innerHeight.
As well as more accurate when it comes to newer values such as dvw, dvh, swv, svh, etc.
The text was updated successfully, but these errors were encountered:
11xdeveloper
changed the title
Support CSS values for defaultSize, maxSize & minSize
[Enhancement] Support CSS values for defaultSize, maxSize & minSize
Jan 31, 2024
No. Pixel-based constraints added significant complexity to the initialization and validation logic and so I've decided not to support them. You may be able to implement a version of this yourself following a pattern like this but it is not officially supported by this library.
The Panel component should be able to take CSS values for defaultSize, maxSize & minSize
e.g.
Much more convenient not having to use window.innerWidth / window.innerHeight.
As well as more accurate when it comes to newer values such as dvw, dvh, swv, svh, etc.
The text was updated successfully, but these errors were encountered: