dotnet / maui

.NET MAUI is the .NET Multi-platform App UI, a framework for building native device applications spanning mobile, tablet, and desktop.
https://dot.net/maui
MIT License
21.98k stars 1.72k forks source link

MAUI Collection view is nor resize properly on iOS #21271

Open andreykoniukh opened 5 months ago

andreykoniukh commented 5 months ago

Description

I have collection view with resizeble editor inside. I start to input test into editor. on android it works good. On iOS collection view items overlapping after editor size changes

Steps to Reproduce

Use attached repository. Run app in iOS device and start input text into editor field. See that after addind new lines current editor overlaps with next collection view items see list

Link to public reproduction project repository

https://github.com/andreykoniukh/MAUILIST.

Version with bug

8.0.7 SR2

Is this a regression from previous behavior?

Not sure, did not test other versions

Last version that worked well

Unknown/Other

Affected platforms

iOS

Affected platform versions

iOS 17.2

Did you find any workaround?

No response

Relevant log output

No response

jfversluis commented 5 months ago

Thanks for the report! Your reproduction project only has the sln file in there, you might want to check that :)

andreykoniukh commented 5 months ago

Thanks for the report! Your reproduction project only has the sln file in there, you might want to check that :) thanks. Fixed

sgreifeneder commented 5 months ago

Unfortunately, I stumbled upon the same issue in another app. There are elements in a collection view, which can be collapsed and expanded. On Android it works fine, on iOS the item height is not updated. The same issue can be found in the MAUI samples: https://github.com/dotnet/maui-samples/tree/main/8.0/UserInterface/Views/CollectionViewDemos Verified with demo "SIZING -> Dynamic item sizing": tapping an image should change its size, which works fine on Android but on iOS it overlaps the next item.

But I guess this issue is just a duplicate of all the other issues that are already reported for collection view on iOS ... e.g. #21141

XamlTest commented 5 months ago

Verified on VS 17.10.0 Preview 2.0(8.0.14). Repro on iOS 17.2 and MacCatalyst, not repro on Windows 11, Android 14.0-API34 with below Project: MAuiMenu.zip

mahesh139 commented 3 months ago

iOS - Collection view item does not resize when visibility of a button inside item changes conditionally. e.g. Changing button IsVisible to False keeps empty space. same works fine on android.