[Catalyst] Fixed the CanMixGroups Set to False Still Allows Reordering Between Groups in CollectionView#28623
Conversation
…roups in CollectionView
There was a problem hiding this comment.
"I tried adding a test case using App.DragAndDrop, but it was not effective, as the test did not fail even without the fix. Therefore, we can proceed with a manual test instead."
Can you share more details? Using App.DragAndDrop and with VerifyScreenshot could be possible to verify it?
I have included the test case with VerifyScreenshot. @jsuarezruiz |
|
/azp run |
|
Azure Pipelines successfully started running 3 pipeline(s). |
| { | ||
| App.WaitForElement("CollectionViewControl"); | ||
| App.DragAndDrop("Item 2", "Item 3"); | ||
| VerifyScreenshot(); |
There was a problem hiding this comment.
I have committed the pending images for other platforms. @jsuarezruiz
| { | ||
| App.WaitForElement("CollectionViewControl"); | ||
| App.DragAndDrop("Item 2", "Item 3"); | ||
| VerifyScreenshot(); |
There was a problem hiding this comment.
I have resaved the iOS image from CI. Could you please verify it now? @jsuarezruiz
|
Can you retarget this to the inflight branch please? |
I have retargeted this branch to inflight. @rmarinho |
ae21138 to
cd05e37
Compare
…g Between Groups in CollectionView (#28623) * Fixed the CanMixGroups Set to False Still Allows Reordering Between Groups in CollectionView * Committed the test case and sample * Committed the pending snap
…g Between Groups in CollectionView (#28623) * Fixed the CanMixGroups Set to False Still Allows Reordering Between Groups in CollectionView * Committed the test case and sample * Committed the pending snap
…g Between Groups in CollectionView (#28623) * Fixed the CanMixGroups Set to False Still Allows Reordering Between Groups in CollectionView * Committed the test case and sample * Committed the pending snap
…g Between Groups in CollectionView (dotnet#28623) * Fixed the CanMixGroups Set to False Still Allows Reordering Between Groups in CollectionView * Committed the test case and sample * Committed the pending snap
…g Between Groups in CollectionView (#28623) * Fixed the CanMixGroups Set to False Still Allows Reordering Between Groups in CollectionView * Committed the test case and sample * Committed the pending snap
…g Between Groups in CollectionView (#28623) * Fixed the CanMixGroups Set to False Still Allows Reordering Between Groups in CollectionView * Committed the test case and sample * Committed the pending snap
…g Between Groups in CollectionView (#28623) * Fixed the CanMixGroups Set to False Still Allows Reordering Between Groups in CollectionView * Committed the test case and sample * Committed the pending snap
…g Between Groups in CollectionView (#28623) * Fixed the CanMixGroups Set to False Still Allows Reordering Between Groups in CollectionView * Committed the test case and sample * Committed the pending snap


Root Cause of the issue
normal pressanddraggingfor reordering CollectionView items occur on Mac. There is no CanMixGroups logic for a normal press, as it is already handled by thelongPressGestureRecognizer. Therefore, the issue occurs due tointerferencebetween the normal press drag and long press gestures.Description of Change
CanMixGroupsproperly.Issues Fixed
Fixes #28530
Tested the behaviour in the following platforms
Screenshot
WithoutfixforCanMixGrouFalse.mov
WithFixforCanMixGroupFalse.mov