Possible bug with LongPressCommand #1072
Replies: 1 comment
-
Subsequently after playing around with things.... found the problem which was that the BindingContext was not being applied which was a breaking change as noted by the release notes.... i have uploaded a new branch to the repo above called fixed as a reference point. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi, we have been working with the community toolkit for some time now. We had a project which used the LongPressCommand, We just upgraded nuget packages and the LongPressCommand stopped working. When bound to a binding context the item doesn't respond.
If we are using the Toolkit version 9.1.1 with Microsoft.Maui.Controls version 9.0.14 the long press command does fire... however, with the toolkit version being 11.2.0 and Maui.Controls version being 9.0.60 the long press command doesn't work.
I've created a repository with just a normal maui startup application with the long press implemented... the master branch has the latest version and doesn't work. The branch called downgrade has the previous versions and works.
For reference i've just put a Command.Writeline in the event handler for the long press as this was a very quick demo.
https://github.com/JamesBrooksbankIceland/TestCommunityToolkit/tree/master/TestCommunityToolkit
Beta Was this translation helpful? Give feedback.
All reactions