Skip to content

Conversation

@XFox111
Copy link
Owner

@XFox111 XFox111 commented Jan 11, 2026

Description

Fixes an issue where on Firefox, clicking on three-dot menu button of a saved tab causes the tab to be opened.

Resolves: #224

@XFox111 XFox111 self-assigned this Jan 11, 2026
Copilot AI review requested due to automatic review settings January 11, 2026 12:32
@XFox111 XFox111 added bug Something isn't working firefox user-interface javascript Pull requests that update javascript code labels Jan 11, 2026
@XFox111 XFox111 linked an issue Jan 11, 2026 that may be closed by this pull request
2 tasks
@XFox111
Copy link
Owner Author

XFox111 commented Jan 11, 2026

Hey @lpoirothattermann, I checked it on my machine, LGTM. Is it good on yours?

https://github.com/XFox111/TabsAsideExtension/actions/runs/20895188373?pr=225

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes a Firefox-specific bug where clicking the three-dot menu button on a saved tab would inadvertently open that tab. The fix prevents event propagation and default behavior when the menu button is clicked.

Changes:

  • Added preventDefault() to the menu button's click handler to prevent the parent Link's default navigation behavior
  • Added disableButtonEnhancement prop to MenuTrigger for proper event handling consistency

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@lpoirothattermann
Copy link

Hi @XFox111, good. Thank you!

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

Labels

bug Something isn't working firefox javascript Pull requests that update javascript code user-interface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Opening tab dots menu triggers tab opening

3 participants