Grid star (Image?) behaviour inconsistent across platforms #14305
Labels
area-controls-image
Image control
area-layout
StackLayout, GridLayout, ContentView, AbsoluteLayout, FlexLayout, ContentPresenter
layout-grid
p/2
Work that is important, but is currently not scheduled for release
platform/android 🤖
platform/iOS 🍎
platform/windows 🪟
t/bug
Something isn't working
Milestone
Description
Here's an example layout:
Some videos for showing the behaviour on various platforms:
Android
https://user-images.githubusercontent.com/271950/228933782-08dc7e9f-1fbc-416f-a024-85ed8fd1f917.mp4
Windows
https://user-images.githubusercontent.com/271950/228933852-0fe9f193-7e40-4432-bdd2-438ac8b2ca12.mp4
Notice how horizontal seems to be relatively well respected... The vertical on the other hand acts strangely. On windows it seems to respect the image height until a certain point at which the image disappears and the available space agrees and things size maybe accurately then? On android the image seems to overflow its available assigned space until it goes away and eventually somehow pops into the left outside of where it has any business being.
It gets even more interesting if you add a ScrollView around the grid.
Steps to Reproduce
Link to public reproduction project repository
https://gist.github.com/Redth/bb1e22edba21716c000da517ae1d6d1b
Version with bug
7.0 (current)
Last version that worked well
Unknown/Other
Affected platforms
iOS, Android, Windows
Affected platform versions
N/A
Did you find any workaround?
No response
Relevant log output
No response
The text was updated successfully, but these errors were encountered: