Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extend 'acessar' button to work with middle click #10

Merged
merged 1 commit into from
Nov 12, 2021
Merged

Extend 'acessar' button to work with middle click #10

merged 1 commit into from
Nov 12, 2021

Conversation

gabekanegae
Copy link
Contributor

Currently, the pink 'acessar' buttons don't react to a middle click, although I expected it to open the URL in a new tab (which it already does with a regular left click). This PR extends the behavior to the middle click using the onAuxClick property, added to React @ facebook/react#11571

@marcelometal marcelometal merged commit b3a5770 into globocom:master Nov 12, 2021
@marcelometal
Copy link
Member

Thank you @KanegaeGabriel !

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.

2 participants