Skip to content

[BUG]? Popup does not wrap content (on Android) #1150

@Dry-Tech

Description

@Dry-Tech

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

Hello,
maybe I'm missing something very simple, but it seems that you can't use long texts as a label in a popup, because there is no line break and thus the popup will be wider than the display area.

I attached a sample repository and a screenshot.

Expected Behavior

Popup takes almost full width of the display because the text is so long, and the label text has line breaks when necessary.

Steps To Reproduce

  1. Run the sample project
  2. Click the button
  3. You will see the result as shown in the screenshot

Link to public reproduction project repository

https://github.com/Dry-Tech/NetMauiPopupNoWrapBug

Environment

- .NET MAUI CommunityToolkit: 5.1.0
- OS: Android 10
- .NET MAUI: 7.0

Anything else?

NetMauiPopupNoWrapBug

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions