Open Daoting opened 4 years ago
Thanks for the report. What's the effect of this behavior ? Can you provide a screenshot of the error ?
These custom controls have a common feature, that is, the parent control creates child controls and then adds them to the internal Panel. No error message, just the measurement result is wrong. Take the menu as an example. Menu MenuPanel load items MenuPanel MeasureOverride
Debug
Screenshot iOS
Android
Sounds related to https://github.com/unoplatform/uno/issues/1554
This issue needs to be re-verified once https://github.com/unoplatform/uno/pull/13839 is merged
Current behavior
All custom controls have this error on iOS with Uno V3.0. For example:
MenuPanel
inherited from Panel. Used to place allMenuItem
.MenuPanel
measure items.mi.DesiredSize
is always same as_availableSize
. Other custom controls also have this error. I can't figure out the reason, the impact is relatively large. Thanks.Expected behavior
How to reproduce it (as minimally and precisely as possible)
Environment
Nuget Package:
Package Version(s):
Affected platform(s):
Visual Studio:
Relevant plugins:
Anything else we need to know?