-
Notifications
You must be signed in to change notification settings - Fork 1.9k
[Catalyst] Fixed the CanMixGroups Set to False Still Allows Reordering Between Groups in CollectionView #28623
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
Conversation
…roups in CollectionView
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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