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

fix(button): use default behavior when is link #399

Merged
merged 1 commit into from
Mar 7, 2024

Conversation

igorwessel
Copy link
Contributor

@igorwessel igorwessel commented Mar 6, 2024

Infos

Task

What is being delivered?

Currently, when we are using the button as a link, it is not possible to have the default behavior because we are preventing it through "onClick".

A small check was added that validates whether it is a link or not.

What impacts?

  • Atom-Button

Reversal plan

  • Revert merge

Evidences

Gravacao.de.Tela.2024-03-06.as.09.55.53.mov

@igorwessel igorwessel added bug Something isn't working components labels Mar 6, 2024
@igorwessel igorwessel requested review from felipefialho, MayaraRMA and a team March 6, 2024 12:51
@igorwessel igorwessel self-assigned this Mar 6, 2024
@igorwessel igorwessel requested review from gabrielduete and removed request for a team March 6, 2024 12:51
Copy link
Contributor

github-actions bot commented Mar 6, 2024

PR Preview Action v1.4.7
Preview removed because the pull request was closed.
2024-03-07 13:55 UTC

@igorwessel igorwessel marked this pull request as ready for review March 6, 2024 12:56
Copy link
Contributor

@felipefialho felipefialho left a comment

Choose a reason for hiding this comment

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

Nice fix

@igorwessel igorwessel merged commit 2873800 into main Mar 7, 2024
2 checks passed
@igorwessel igorwessel deleted the fix/not-able-use-default-behavior-for-links branch March 7, 2024 13:53
@github-actions github-actions bot mentioned this pull request Mar 7, 2024
@github-actions github-actions bot mentioned this pull request Jun 5, 2024
@github-actions github-actions bot mentioned this pull request Jun 19, 2024
@github-actions github-actions bot mentioned this pull request Aug 1, 2024
@github-actions github-actions bot mentioned this pull request Dec 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants