-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Min/max width/height auto layout constraints don't seem to work #1545
Comments
Lower priority than #1556 for sure |
Having issue with measuring with node https://www.figma.com/design/ArHVZAQIsKf2B9mATnVvLX/AutoLayout?node-id=1-8&node-type=frame&t=xrMeVa2Wr6yzULtn-0 where the outer frame has max size set and the inner frame has min size set. This only happens when the outer container is placed inside a non-auto layout container or an auto-layout container with a different flex direction. Works if it is placed inside an auto-layout container with the same flex direction with the outer frame. This is similar to what have been reported to taffy: DioxusLabs/taffy#591 The dump of the html code:
With the output taffy tree:
|
It used to be ignored. Fixes: #1545
I noticed that setting min/max constraints on an auto layout node seems to be ignored. It would be good to support this fully; I think that Taffy supports min/max, so we should be able to hook this up.
The text was updated successfully, but these errors were encountered: