contentful / forma-36

A design system by Contentful
https://f36.contentful.com
MIT License
331 stars 81 forks source link

🐛 Bug - EntityListItem actions click doesn't prevent entire card click #2463

Open dani1993 opened 1 year ago

dani1993 commented 1 year ago

Forma 36 bug report

Summary

On EntityListItem component, if are enabled both onClick and actions properties, clicking on actions button is intercepted also card onClick event property.

Expected results

Expected stopPropagation and preventDefault of click event when actions button is clicked.

github-actions[bot] commented 1 year ago

Marking issue as stale since there was no activity for 30 days

wpigoury commented 4 months ago

Same issue when href and actions properties are set, clicking on actions menu triggers the href as well opening a new tab while we just want to open the action menu.

github-actions[bot] commented 3 months ago

Marking issue as stale since there was no activity for 30 days