-
-
Notifications
You must be signed in to change notification settings - Fork 2k
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
onClick on tiles is triggered twice #1636
Labels
Milestone
Comments
use attribute |
The bug comes from the mix between metro & React, if you remove React, yeah, it works... |
olton
added a commit
that referenced
this issue
Sep 28, 2020
…ick` renamed to `onTileClick` (attribute `data-on-click` => `data-on-tile-click`), issue #1636
Fixed in 4.4.1
|
The 4.4.1 version fixed my issue. Thank you very much for your fix and responsiveness. |
olton
added a commit
that referenced
this issue
Oct 28, 2023
…ick` renamed to `onTileClick` (attribute `data-on-click` => `data-on-tile-click`), issue #1636
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
I mixed metro-ui with react, and i tried to add an onClick event on a tile.
The issue is that the onclick event is triggered twice.
To Reproduce
https://codepen.io/ngirot/pen/JjXVGER
There is two item, triggered the same increment function
Expected behavior
The onClick event should be triggered once.
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: