You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 1, 2024. It is now read-only.
The code was working in Xamarin.Forms 4.6, however, after upgrading to the latest Xamarin.Form 5.0.0.2012 highlighting CollectionView item with visual state manager doesn't work as expected. I found the problem is with GestureRecognizers on the Grid. If I remove the GestureRecognizers from the Grid, it works as expected.
After adding GestureRecognizers on the Grid, the expected behaviour is lost and it doesn't work any more.
Android:
It is not working in Android only, but the same code works fine in iOS.
Workaround
If I wrap the Grid inside SwipeView, it works fine. However, the problem still remain when CollectionView has more than 100 items. 2nd Workaround
This worked nicely for any number of items in the CollectionView. Add second Grid inside the 1st Grid and apply GestureRecognizers event on the 2nd Grid and everythings works smoothly and as expected.
The text was updated successfully, but these errors were encountered:
The code was working in Xamarin.Forms 4.6, however, after upgrading to the latest Xamarin.Form 5.0.0.2012 highlighting CollectionView item with visual state manager doesn't work as expected. I found the problem is with GestureRecognizers on the Grid. If I remove the GestureRecognizers from the Grid, it works as expected.
After adding GestureRecognizers on the Grid, the expected behaviour is lost and it doesn't work any more.
Expected Behavior
Highlight Selected Item
Actual Behavior
Doesn't select them item neither highlight it
It is not working in Android only, but the same code works fine in iOS.
Workaround
If I wrap the Grid inside SwipeView, it works fine. However, the problem still remain when CollectionView has more than 100 items.
2nd Workaround
This worked nicely for any number of items in the CollectionView. Add second Grid inside the 1st Grid and apply GestureRecognizers event on the 2nd Grid and everythings works smoothly and as expected.
The text was updated successfully, but these errors were encountered: