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

Fix multiple events on toolbar items #12797

Merged
merged 1 commit into from
Nov 12, 2020
Merged

Fix multiple events on toolbar items #12797

merged 1 commit into from
Nov 12, 2020

Conversation

PureWeen
Copy link
Contributor

Description of Change

Toolbar Items in UWP shell are bound to the commands and firing the click events from code behind which is causing the Command bound to ToolbarItem to fire multiple times. This PR removes the command binding since the Click event in the code behind handles the firing of the Command.

Platforms Affected

  • UWP

Testing Procedure

  • UI Tests included
  • This was originally found on the Shell templates for Visual Studio. When clicking "Add new item" two pages were being pushed.

PR Checklist

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

@PureWeen PureWeen added a/shell 🐚 blocker Issue blocks next stable release. Prioritize fixing and reviewing this issue. labels Nov 10, 2020
@PureWeen PureWeen added this to the 5.0.0 milestone Nov 10, 2020
@PureWeen PureWeen added this to To do in vNext+1 (5.0.0) via automation Nov 10, 2020
@PureWeen PureWeen moved this from To do to In Review in vNext+1 (5.0.0) Nov 10, 2020
@PureWeen PureWeen added the p/UWP label Nov 10, 2020
@rmarinho rmarinho merged commit 40b3b42 into 5.0.0 Nov 12, 2020
vNext+1 (5.0.0) automation moved this from In Review to Done Nov 12, 2020
@rmarinho rmarinho deleted the uwp_fix branch November 12, 2020 17:54
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
a/shell 🐚 blocker Issue blocks next stable release. Prioritize fixing and reviewing this issue. p/UWP
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

None yet

2 participants