Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

[UWP] Fix SwipeView executes Command twice #11323

Merged
merged 2 commits into from Aug 3, 2020
Merged

[UWP] Fix SwipeView executes Command twice #11323

merged 2 commits into from Aug 3, 2020

Conversation

jsuarezruiz
Copy link
Contributor

Description of Change

Fix SwipeView executes Command twice on UWP. By assigning the Command to the native control (WinUI SwipeItem), the command was executed by the native control and by the OnInvoked method.

Issues Resolved

API Changes

None

Platforms Affected

  • UWP

Behavioral/Visual Changes

None

Before/After Screenshots

Not applicable

Testing Procedure

Launch Core Gallery and navigate to the issue 11251. Swipe to the right and tap the SwipeItem. Verify that the command has only been executed once (see Output).

PR Checklist

  • Targets the correct branch
  • Tests are passing (or failures are unrelated)

@samhouts samhouts added this to In Review in 4.7.0 Jul 6, 2020
@samhouts samhouts requested review from hartez and samhouts July 7, 2020 18:45
@samhouts samhouts changed the base branch from 4.7.0 to 4.8.0 July 8, 2020 17:10
@samhouts samhouts removed this from In Review in 4.7.0 Jul 8, 2020
@samhouts samhouts added this to In Review in SwipeView Jul 13, 2020
@samhouts samhouts added this to In Review in vCurrent (4.8.0) Jul 30, 2020
@hartez hartez merged commit eea5b54 into 4.8.0 Aug 3, 2020
SwipeView automation moved this from In Review to Done Aug 3, 2020
vCurrent (4.8.0) automation moved this from In Review to Done Aug 3, 2020
@hartez hartez deleted the fix-11251 branch August 3, 2020 21:00
@samhouts samhouts added this to Done in Sprint 174 Aug 4, 2020
@samhouts samhouts added the approved Has two approvals, no pending reviews, and no changes requested label Aug 4, 2020
@samhouts samhouts added this to the 4.8.0 milestone Aug 5, 2020
@samhouts samhouts removed this from Done in SwipeView Sep 2, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
a/swipeview approved Has two approvals, no pending reviews, and no changes requested p/UWP t/bug 🐛
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

3 participants