We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9d266bb commit 0533507Copy full SHA for 0533507
.changeset/ninety-onions-jump.md
@@ -0,0 +1,5 @@
1
+---
2
+"@ensembleui/react-runtime": patch
3
4
+
5
+revert: prevent event propagation on icon click
packages/runtime/src/widgets/Icon.tsx
@@ -53,10 +53,7 @@ export const Icon: React.FC<IconProps> = ({
53
return (
54
<IconComponent
55
className={values?.styles?.names}
56
- onClick={(e): void => {
57
- e.stopPropagation();
58
- onTapActionCallback?.callback();
59
- }}
+ onClick={(): unknown => onTapActionCallback?.callback()}
60
onMouseEnter={handleMouseOver}
61
onMouseLeave={handleMouseLeave}
62
sx={{
0 commit comments