Is there an existing issue for this?
Did you read the "Reporting a bug" section on Contributing file?
Current Behavior
Popup -> Grid -> ScrollView -> StackLayout -> Some Content
The Popup fills the complete screen on Android.
Expected Behavior
Popup -> Grid -> ScrollView -> StackLayout -> Some Content
The size of the Popup adjusts to the size of the content on Android.
Steps To Reproduce
The following layout works as expected on version 5.2.0 of the Community Toolkit:
<t:Popup>
<Grid>
<ScrollView>
<StackLayout>
<Image Source="dotnet_bot.png" HeightRequest="200" />
<Label Text="Hello, World!" HorizontalTextAlignment="Center" />
</StackLayout>
</ScrollView>
</Grid>
</t:Popup>
On versions 5.3.0 and 6.0.0 the layout works as expected on smart phones only, but the content gets truncated on tablets. On version 6.1.0 the Popup fills the complete screen on smart phones – I did not test tablets.
Link to public reproduction project repository
https://github.com/CommunityToolkit/Maui
Environment
- .NET MAUI CommunityToolkit: 6.1.0
- OS: Android 9 to 14
- .NET MAUI: 7.0.100
Anything else?
No response
Is there an existing issue for this?
Did you read the "Reporting a bug" section on Contributing file?
Current Behavior
Popup -> Grid -> ScrollView -> StackLayout -> Some Content
The Popup fills the complete screen on Android.
Expected Behavior
Popup -> Grid -> ScrollView -> StackLayout -> Some Content
The size of the Popup adjusts to the size of the content on Android.
Steps To Reproduce
The following layout works as expected on version 5.2.0 of the Community Toolkit:
On versions 5.3.0 and 6.0.0 the layout works as expected on smart phones only, but the content gets truncated on tablets. On version 6.1.0 the Popup fills the complete screen on smart phones – I did not test tablets.
Link to public reproduction project repository
https://github.com/CommunityToolkit/Maui
Environment
Anything else?
No response