-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
After upgrading CommunityToolkit.Maui from 11.2.0 to 12.2.0 there are breaking changes to Popups, they call it Popup V2.
https://github.com/CommunityToolkit/Maui/wiki/Migrating-to-Popup-v2
Within these popups, iOS ContenButtons no longer work on iOS, i.e. the click does not trigger anything - no animation, no command. The Content itself is displayed fine, it's just not a button anymore.
Example by adding a ContentButton to CommunityToolkit.MAUI Sample Page::
<mct:Popup xmlns="http://schemas.microsoft.com/dotnet/2021/maui"
xmlns:x="http://schemas.microsoft.com/winfx/2009/xaml"
xmlns:mct="http://schemas.microsoft.com/dotnet/2022/maui/toolkit"
xmlns:vm="clr-namespace:CommunityToolkit.Maui.Sample.ViewModels.Views"
xmlns:system="clr-namespace:System;assembly=System.Runtime"
xmlns:mcb="http://schemas.microsoft.com/dotnet/2024/maui/contentbutton"
x:Class="CommunityToolkit.Maui.Sample.Views.Popups.ComplexPopup"
x:DataType="vm:ComplexPopupViewModel"
x:TypeArguments="system:String">
<VerticalStackLayout Spacing="12">
<mcb:ContentButton Command="{Binding ThisPopupWillNotFireOniOSCommand}">
<Label Text="Click me!" />
</mcb:ContentButton>
</VerticalStackLayout>
</mct:Popup>
Android is fine. But unfortunately this is a showstopper for us, we will have to rewrite all ContentButtons in all Popups.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels