[iOS] Calling InvalidateMeasure()
on a descendant during measure can go infinite
#2842
Open
1 of 12 tasks
Labels
difficulty/medium 🤔
Categorizes an issue for which the difficulty level is reachable with a good understanding of WinUI
kind/bug
Something isn't working
platform/ios 🍎
Categorizes an issue or PR as relevant to the iOS platform
project/layout 🧱
Categorizes an issue or PR as relevant to layouting and containers (Measure/Arrange, Collections,..)
How to reproduce it (as minimally and precisely as possible)
https://github.com/davidjohnoliver/InfMeasure
Current behavior
On iOS, sample fails with an inordinate number of measure/layout passes. (In more complex examples eg WCT DataGrid this can be effectively infinite, freezing the app.)
Expected behavior
Calling
descendant.InvalidateMeasure()
from withMeasureOverride()
doesn't trigger an additional measure/arrange pass.Environment
Nuget Package:
Package Version(s):
Affected platform(s):
Visual Studio:
Relevant plugins:
Anything else we need to know?
This doesn't occur on Android or WASM.
The text was updated successfully, but these errors were encountered: