dotnet / dotnet/maui-samples

Multiple TextCell controls bound to a Command, but command can only be executed once

Open
#403 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
3.7k
Forks
1.5k
PR merge metrics
No merged PRs in 30d

Description

**Windows issue only.**
Works on Android, didn't test on others.

In the [following example code](https://github.com/dotnet/maui-samples/tree/main/8.0/UserInterface/Layouts/AbsoluteLayoutDemos) there a 6 ContentPages, first 6 implemented purely in Xaml and another 6 implemented purely with C# code.

The MainPage contains a TableView control where each TextCell should trigger a NavigationCommand which opens the respective ContentPage.

When you click on a TextCell you will navigate to the respective contentpage.
When you go back to the MainPage and try to click another TextCell, the the navigation command won't execute anymore, no matter which cell you click on.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.