[Net7] ScrollView/Grid/Label width calculation broken on .Net 7, no issue on .Net 6 #11873
Labels
area-layout
StackLayout, GridLayout, ContentView, AbsoluteLayout, FlexLayout, ContentPresenter
layout-grid
platform/android 🤖
platform/windows 🪟
s/triaged
Issue has been reviewed
s/verified
Verified / Reproducible Issue ready for Engineering Triage
t/bug
Something isn't working
Milestone
Description
Width of Grid inside a ScrollView is changed if label text changes. This did not happen with .Net 6.
.Net 7 behaviour after start
![2022-12-05_17h34_17](https://user-images.githubusercontent.com/12236753/205693177-c96b09fe-244c-4ab1-9c1e-a03d18f96dc0.png)
Click on Start button to change the text, the grid column widths change. Click on Stop to undo the change.
![2022-12-05_17h34_21](https://user-images.githubusercontent.com/12236753/205693330-97dce328-18c1-49d1-bbd3-d223170f70ca.png)
.Net 6 behaviour is fine
![2022-12-05_17h37_18](https://user-images.githubusercontent.com/12236753/205693446-bc4c1767-2b88-4816-8e67-61634d363168.png)
Steps to Reproduce
Link to public reproduction project repository
https://github.com/MartinRothschink/WidthBug
Version with bug
7.0 (current)
Last version that worked well
6.0.424
Affected platforms
Android, Windows, I was not able test on other platforms
Affected platform versions
Android 7 and later, Windows 10/11
Did you find any workaround?
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered: