Skip to content

Keflon/MauiGridBug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MAUI BUG #15076

ScrollView in Grid cell multiple issues on iOS, Android and WinUI.

Grid with RowDefinitions="*,*" where each grid cell contains a ScrollView ...

Scenario 1:

<Grid RowDefinitions="*,*">
    <ScrollView Grid.Row="0" >
        <Rectangle HeightRequest="500" BackgroundColor="Blue"/>
    </ScrollView>
    <ScrollView Grid.Row="1" >
        <Rectangle  HeightRequest="500" BackgroundColor="Yellow" />
    </ScrollView>
</Grid>
  1. Android: The Grid cells are 50/50 and the Rectangle can be scrolled within the ScrollView. (Pixel 5, Emulator)
  2. iOS: [BUG] The Grid cells expand to fit the Rectangle, i.e. they are too big. (iPhone SE, simulator)
  3. Windows: [BUG] The Grid cells appear to be the correct height but the Rectangles are minimal height.

Image 1.1
image

Image 1.2
image

Image 1.3
image

Scenario 2:

<Grid RowDefinitions="*,*">
    <ScrollView Grid.Row="0" >
        <Button Text="A Button in a ScrollView" HeightRequest="500" BackgroundColor="Blue"/>
    </ScrollView>
    <ScrollView Grid.Row="1" >
        <Button Text="A Button in a ScrollView" HeightRequest="500" TextColor="Blue" BackgroundColor="Yellow" />
    </ScrollView>
</Grid>
  1. Android: The Grid cells are 50/50 and the Buttons can be scrolled within the ScrollView.
    1. Android: [BUG] If this text has InputTransparent=True, it does not show.
  2. iOS: [BUG] The Grid cells expand to fit the Button, i.e.they are too big. (iPhone SE, simulator)
  3. Windows: [BUG] The Grid is 50/50, the Button is 500 in height, but the ScrollView is not scrollable.

Image 2.1
image

Image 2.2
image

Image 2.3
image

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages