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] SelectedItemEventArgsConverter not worked on ListView after udating community toolkit version to 10.0.0 #2411

Open
2 tasks done
rahulshreebastav opened this issue Dec 24, 2024 · 1 comment
Labels

Comments

@rahulshreebastav
Copy link

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

Not working on tapping on the listview.

Expected Behavior

On tapping on listview it should trigger the command.

Steps To Reproduce

<ContentPage.Resources>
    <ResourceDictionary>
        <toolkit:SelectedItemEventArgsConverter x:Key="SelectedItemEventArgsConverter" />
    </ResourceDictionary>
</ContentPage.Resources>
     </DataTemplate>
 </ListView.ItemTemplate>

Link to public reproduction project repository

https://learn.microsoft.com/zh-tw/dotnet/communitytoolkit/maui/converters/selected-item-eventargs-converter

Environment

- .NET MAUI CommunityToolkit: 10.0.0.
- OS:
- .NET MAUI:9.0

Anything else?

No response

@brminnick
Copy link
Collaborator

Please be sure to note the breaking change to Behaviors in CommunityToolkit.Maui v10.0.0.

We've included this as a Breaking Change in our release notes:

Image

You can find more information, including a working solution, here on StackOverflow: https://stackoverflow.com/a/79099574/5953643

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants