Skip to content

Conversation

@brianlagunas
Copy link
Collaborator

@brianlagunas brianlagunas commented Apr 11, 2023

Description of Change

Fixed #107.

KeyTrigger would fire multiple times due to the Loaded event being invoked multiple times. This would cause the KeyUp/KeyDown events to be registered multiple times and therefore invoke the trigger multiple times.

Added code to remove the Loaded event handler from the source object to prevent the Loaded event from firing multiple times.

Bugs Fixed

API Changes

List all API changes here (or just put None), example:

Changed:

  • private void UnregisterLoaded() => protected void UnregisterLoaded()

PR Checklist

  • Has tests (if omitted, state reason in description)
  • Rebased on top of master at time of PR
  • Changes adhere to coding standard

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

KeyTrigger fires multiple times in a TabControl

3 participants