Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Popup on iOS doesn't respect VerticalStackLayout padding at the bottom of the layout #2167

Open
CliffAgius opened this issue Sep 3, 2024 Discussed in #2156 · 1 comment
Labels
area/views Issue/Discussion/PR that has to do with Views

Comments

@CliffAgius
Copy link
Contributor

Converting to an Issue as this looks like a Bug rather than a Discussion.

Discussed in #2156

Originally posted by JRosanowski August 27, 2024
Has anyone else come across this? I've got a VerticalStackLayout with padding of 16, and buttons at the bottom of the layout. On Android there's padding below the buttons. On iOS there isn't.

@cat0363
Copy link
Contributor

cat0363 commented Sep 4, 2024

I tested it with the layout below. It's a very simple layout.

<mkt:Popup xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
             xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
             xmlns:mkt="clr-namespace:CommunityToolkit.Maui.Views;assembly=CommunityToolkit.Maui"
             x:Class="CommunityToolkitTest.Popups.TestPopup">
    <VerticalStackLayout Padding="5,5,5,20">
        <Label FontSize="20" TextColor="Black" Text="This is test." />
        <Button FontSize="20" TextColor="White" BackgroundColor="Blue" Text="Start" />
    </VerticalStackLayout>
</mkt:Popup>

[iOS]

[Android]

In this case, the Padding appears to be working as intended.

@vhugogarcia vhugogarcia added the area/views Issue/Discussion/PR that has to do with Views label Oct 23, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/views Issue/Discussion/PR that has to do with Views
Projects
None yet
Development

No branches or pull requests

3 participants