-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
TableView TextCell command executes only once #21112
Comments
@Legends if you have a change to test android/ios that would be helpful I'm curious if the sample is just written incorrectly vs a bug with TableView |
As I have mentioned above: It works on Android, but not on Windows. |
Verified this on VS 17.10.0 Preview 2.0(8.0.14). Repro on Windows 11, not repro on Android 14.0-API34, iOS 17.2 and MacCatalyst with below Project: |
Running any official .NET MAUI example on Windows that uses the TableView to list the examples to try, I face this problem: On the MainPage I click one item in the list to open the clicked example in a new page. It works on Android and iOS. https://github.com/dotnet/maui-samples/tree/main/8.0/UserInterface/Views/ListViewDemos |
I have tried below code its works. |
I tried the new .NET MAUI 9.0 official examples on Windows and I'm experiencing the same issue. |
Description
Here is the original issue: dotnet/maui-samples#403
Doesn't work on Windows
Works on Android, didn't test on others.
Here a reproduction example.
The
MainPage
contains aTableView
control where eachTextCell
should trigger aNavigationCommand
which opens the respectiveContentPage
.When you click on a
TextCell
you will navigate to the respectiveContentPage
.When you go back to the
MainPage
and try to click anotherTextCell
, the the navigation command won't execute anymore, no matter which cell you click on.Steps to Reproduce
Run the solution on Windows 10.
Link to public reproduction project repository
https://github.com/dotnet/maui-samples/tree/main/8.0/UserInterface/Layouts/AbsoluteLayoutDemos
Version with bug
8.0.3 GA
Is this a regression from previous behavior?
Not sure, did not test other versions
Last version that worked well
Unknown/Other
Affected platforms
Windows, I was not able test on other platforms
Affected platform versions
No response
Did you find any workaround?
no
Relevant log output
No response
The text was updated successfully, but these errors were encountered: