Skip to content

Conversation

nmerget
Copy link
Collaborator

@nmerget nmerget commented Jun 18, 2025

Proposed changes

Types of changes

  • Bugfix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Refactoring (fix on existing components or architectural decisions)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation Update (if none of the other choices apply)

Further comments

@nmerget nmerget requested a review from mfranzke as a code owner June 18, 2025 08:17
Copy link
Contributor

@nmerget nmerget merged commit 23c91e4 into fix-button-click-double-call Jun 18, 2025
22 of 48 checks passed
@nmerget nmerget deleted the fix-button-click-double-call-2 branch June 18, 2025 12:19
console.log(json.name);
if (['DBButton', 'DBLink'].includes(json.name)) {
if (json.pluginData.target === 'vue') {
console.log(json.state);
Copy link
Collaborator

Choose a reason for hiding this comment

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

@nmerget should this console.log remain in there?

nmerget added a commit that referenced this pull request Jun 27, 2025
…reserving native behaviour (#4359)

* fix(button): prevent duplicate click events by stopping propagation

* fix(button): prevent duplicate click events by stopping propagation

* fix(button): prevent duplicate click events across frameworks while preserving native behavior

* chore: update onClick for button and link with mitosis plugin (#4392)

---------

Co-authored-by: Maximilian Franzke <[email protected]>
Co-authored-by: Nicolas Merget <[email protected]>
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.

3 participants