Maui
Maui copied to clipboard
[Bug] Dynamic content doesn't change popup size / height
Description
Switching the content of the popup through a property that replaces the current content doesn't change the height / size of the popup.
Reproduction Sample
Steps to Reproduce
- Press the button "Press me" to change the content of the popup.
Expected Behavior
The size / height of the popup changes dynamically based on its content.
Actual Behavior
The size / height of the popup remains the same as the first content rendered.
Basic Information
- Version with issue:
1.0.0
- Last known good version:
none
- IDE: VS
- Platform Target Frameworks:
- Android:
11.0
- Android:
Workaround
None
Reproduction imagery
![]() |
![]() |
This problem also applies to the horizontal width of the popup content: in this case the text I mentioned in #439 is not visible anymore, but the width remains broken.
![]() |
![]() |
Any update on this? @pictos
@Giuseppetm didn't look into this issue yet. For the next release I focused on apple platform.
Any news on this @pictos ?
Looks like it has something to do with the ScrollView. Need more investigation
Same problem here
@pictos, não sei se isso ajuda kk
@EduardoReisDev if you set the horizontal/verticalOptions = "Center" does it fix on iOS?
@pictos, nop!
@EduardoReisDev I'm talking about the popup control and not the layout
Does not work too. Same problem on Windows and Android. Height is miscalculated on Windows and width on Android.
Any idea how to solve this on iOS ?
Fixed in https://github.com/CommunityToolkit/Maui/pull/1320