Grid View Row is not working as expected
See original GitHub issueDescription
I have created sample app in both Xamarin.Forms and MAUI. And create same ui in a page using Grid , which seems different behavior.
The issue is , we can’t fix any view/control at the bottom of Grid. It getting moved along with keyboard while focused on Entry control like below;
Xamarin.Forms Result:
MAUI Result:
Steps to Reproduce
Sample XAML Code:
<Grid VerticalOptions="FillAndExpand">
<Grid.RowDefinitions>
<RowDefinition/>
<RowDefinition Height="Auto"/>
</Grid.RowDefinitions>
<ScrollView VerticalOptions="FillAndExpand">
<StackLayout Spacing="25"
Padding="30,0"
VerticalOptions="Center">
<Entry Placeholder="Type here..."
BackgroundColor="ForestGreen"/>
<Label Text="Hello World!"
HorizontalOptions="Center"
FontSize="Medium"/>
<Label Text="Hello World!"
HorizontalOptions="Center"
FontSize="Medium"/>
<Label Text="Hello World!"
HorizontalOptions="Center"
FontSize="Medium"/>
<Label Text="Hello World!"
HorizontalOptions="Center"
FontSize="Medium"/>
<Label Text="Hello World!"
HorizontalOptions="Center"
FontSize="Medium"/>
<Label Text="Hello World!"
HorizontalOptions="Center"
FontSize="Medium"/>
<Label Text="Hello World!"
HorizontalOptions="Center"
FontSize="Medium"/>
<Label Text="Hello World!"
HorizontalOptions="Center"
FontSize="Medium"/>
</StackLayout>
</ScrollView>
<Button Grid.Row="1" Text="Click Me!"
BackgroundColor="Green"
HeightRequest="70"
CornerRadius="35"
VerticalOptions="End"/>
</Grid>
Version with bug
6.0.486 (current)
Last version that worked well
Unknown/Other
Affected platforms
Android
Affected platform versions
Android 12
Did you find any workaround?
No response
Relevant log output
No response
Issue Analytics
- State:
- Created a year ago
- Reactions:4
- Comments:7 (2 by maintainers)
Top Results From Across the Web
CSS Grid not working as expected with rows
I'm trying to accomplish a grid that the 4th column takes place in the first and second row without pushing the second row...
Read more >Setting a value using Gridview.SetRowCellValue to some ...
Setting a value using Gridview.SetRowCellValue to some rows in a Grid view not working as expected when columns are sorted.
Read more >GridView - Filter 'contains' does not work for filter row
Hi,. The issue occurs because the en-US column isn't filled with values. From the GridView's point of view, it's an empty column with...
Read more >Issues saving to SharePoint lists in grid view
I've been trying to make changes to some SharePoint lists in grid view. The changes to a particular list item will only save...
Read more >Common Flutter errors
The error is often caused when a ListView (or other kinds of scrollable widgets such as GridView ) is placed inside a Column...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
This is still a problem. It causes weird behaviors when using Entries with Grids, two widely used components.
I experienced an issue similar to the one described here in the very first page (a simple login page) I developed for an application in .NET MAUI.
Thank you for testing!!
I’m going to close this issue as fixed by https://github.com/dotnet/maui/pull/11356
If that seems incorrect @sattasundar let me know.