maui
maui copied to clipboard
Blank Space coming in top of ListView in iOS
Description
Blank Space coming in top of ListView in iOS when we open a Searchbar inside a TitleView
when used packages Microsoft.Maui.Controls version 8.0.14 and Microsoft.Maui.Controls.Compatibility version 8.0.14
The issue was not present in version 8.0.6 of the same packages.
Please find attached Zip file containing a sample to reproduce the issue (as well as screenshots of the issue)
Steps to Reproduce
Refer the attached ZIP file,
- Extract the Zip file and open the solution in a Visual Studio
- Run the app in a iPhone Simulator/ iPhone physical device
- A listing page will be loaded, click on Searchbar (then On top of ListView some blank space will be showing)
- Type something in Searchbar (Blank space on top of listview remains there)
- Clear the searchbar using clear button (keyboard not suspending and blank space remains the same)
- Also try to tap on any ListView item(focus remains the same in searchbar with blankspace above the ListView)
Link to public reproduction project repository
No response
Version with bug
8.0.7 SR2
Is this a regression from previous behavior?
Yes, this used to work in .NET MAUI
Last version that worked well
8.0.7 SR2
Affected platforms
iOS
Affected platform versions
No response
Did you find any workaround?
No. I need one.
Relevant log output
No response
ListViewDemo.zip Refer the attachment for reproducing the issue
Can repro this issue at iOS platform on the latest 17.10 preview 2 (8.0.6 & 8.0.14)
Can repro this issue with Grid as root layout of the ContentPage without AppShell. When keyboard appears, blank space will be showing at the top of the root Grid layout. At the same time Grid's margins and paddings will be 0.
@jaosnz-rep @evgenyKozlov1996 Keep me updated if there is a fix/workaround.