maui icon indicating copy to clipboard operation
maui copied to clipboard

Blank Space coming in top of ListView in iOS

Open AbhishekGujjar07 opened this issue 10 months ago • 4 comments

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,

  1. Extract the Zip file and open the solution in a Visual Studio
  2. Run the app in a iPhone Simulator/ iPhone physical device
  3. A listing page will be loaded, click on Searchbar (then On top of ListView some blank space will be showing)
  4. Type something in Searchbar (Blank space on top of listview remains there)
  5. Clear the searchbar using clear button (keyboard not suspending and blank space remains the same)
  6. 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

AbhishekGujjar07 avatar Apr 05 '24 12:04 AbhishekGujjar07

ListViewDemo.zip Refer the attachment for reproducing the issue

AbhishekGujjar07 avatar Apr 05 '24 12:04 AbhishekGujjar07

Can repro this issue at iOS platform on the latest 17.10 preview 2 (8.0.6 & 8.0.14)

jaosnz-rep avatar Apr 08 '24 09:04 jaosnz-rep

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.

evgenyKozlov1996 avatar Apr 09 '24 06:04 evgenyKozlov1996

@jaosnz-rep @evgenyKozlov1996 Keep me updated if there is a fix/workaround.

AbhishekGujjar07 avatar Apr 09 '24 11:04 AbhishekGujjar07