forma-36 icon indicating copy to clipboard operation
forma-36 copied to clipboard

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

Open dani1993 opened this issue 2 years ago • 3 comments

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.

dani1993 avatar Apr 26 '23 14:04 dani1993

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

github-actions[bot] avatar May 27 '23 07:05 github-actions[bot]

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.

wpigoury avatar Apr 18 '24 09:04 wpigoury

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

github-actions[bot] avatar May 20 '24 07:05 github-actions[bot]

was fixed in https://github.com/contentful/forma-36/pull/2839

Lelith avatar Dec 10 '24 12:12 Lelith