Skip to content

Commit

Permalink
accessibility(featureDiscovery) change remove keypress event handler …
Browse files Browse the repository at this point in the history
…consistently since it was updated in setup in commit 6db4cc3
  • Loading branch information
gselderslaghs committed Dec 10, 2024
1 parent 01c1a7f commit 6593260
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tapTarget.ts
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ export class TapTarget extends Component<TapTargetOptions> implements Openable {

_removeEventHandlers() {
this.originEl.removeEventListener('click', this._handleTargetToggle);
this.originEl.removeEventListener('keypress', this._handleTargetToggle);
this.originEl.removeEventListener('keypress', this._handleKeyboardInteraction, true);
// this.originEl.removeEventListener('click', this._handleOriginClick);
window.removeEventListener('resize', this._handleThrottledResize);
}
Expand Down

0 comments on commit 6593260

Please sign in to comment.