Skip to content

[BUG] CollectionView/ListView into Popup strange behavior when display items(Android Only) when Label VerticalTextAlignment="Center"  #1532

@huytran123

Description

@huytran123

Is there an existing issue for this?

  • I have searched the existing issues

Did you read the "Reporting a bug" section on Contributing file?

Current Behavior

When i add CollectionView/ListView into Popup page. On the first time show, items in listview or CollectionView do not show. I have to scroll up or down to show them. This is my demo strange behavior

Screen.Recording.2023-11-16.at.11.23.17.mov

When remove VerticalTextAlignment or change to HorizontalOptions it working perfectly

Expected Behavior

show all item in listview or collectionview when i show popup page

Steps To Reproduce

  1. Create popup page
  2. Add CollectionView/ListView into Popup page.
  3. Binding Itemsources
  4. Show popup page

Link to public reproduction project repository

https://github.com/huytran123/BugMauiListItemInPopup.git

Environment

- .NET MAUI CommunityToolkit: 6.1.0
- OS: MAC OS 13.4.1
- .NET MAUI: net7.0;net7.0-android

Anything else?

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/viewsIssue/Discussion/PR that has to do with ViewsbugSomething isn't workingunverified

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions