.NET MAUI GestureRecognizers not working on certain controls
See original GitHub issueThis issue has been moved from a ticket on Developer Community.
[severity:It’s more difficult to complete my work]
The following is working perfectly fine:
<Frame>
<Frame.GestureRecognizers>
<TapGestureRecognizer Command="{Binding ExecuteCommand}" />
</Frame.GestureRecognizers>
</Frame>
While this is not working:
<CheckBox>
<CheckBox.GestureRecognizers >
<TapGestureRecognizer Command="{Binding ExecuteCommand}"/>
</CheckBox.GestureRecognizers>
</CheckBox>
The command is not executed.
The same goes for the Switch.
If this is intentional, what would be the proper way to bind a command to the Checkbox or Switch?
Original Comments
Feedback Bot on 7/17/2022, 08:01 PM:
(private comment, text removed)
Original Solutions
(no solutions)
Depends on
Issue Analytics
- State:
- Created a year ago
- Reactions:20
- Comments:45 (8 by maintainers)
Top Results From Across the Web
.NET MAUI: Bug - GestureRecognizers are not working on ...
The bug we are addressing is related to TapGestureRecognizers not functioning as expected on specific Views, such as frames, in .NET MAUI apps....
Read more >Navigation in .Net maui doesn't work - TapgestureRecognizer
Your Command is taking the wrong type of parameter. It should be: [RelayCommand] async void MenuListViewSelectedItem(MainMenuModel e) ...
Read more >Recognize a tap gesture - .NET MAUI
NET Multi-platform App UI (.NET MAUI) tap gesture recognizer is used for tap detection and is implemented with the TapGestureRecognizer class.
Read more >Image TapGestureRecognizer not working inside ...
i'm using MVVM pattern, i want to handle when user click on X icon, i'm using TapGestureRecognizer, but it isn't fired Does anyone...
Read more >TabViewItem swipe not working in Android
Scenario 1: Controls with gesture recognizers ... See below example, but when a CollectionView is swiped over, the swipe does not work.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Is there any idea when this is going to get looked at or resolved? This is a serious issue which blocks any iOS releases.
Why is this issue not getting attention? This seems like a very basic feature that Maui needs to support. I keep on fighting with workarounds for Maui, it’s annoying.