@cambly/syntax-core 9.4.0 → 9.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -1573,7 +1573,13 @@ var TapArea = (0, import_react13.forwardRef)(
1573
1573
  hovered: false,
1574
1574
  focussed: false
1575
1575
  });
1576
- const handleClick = (event) => !disabled ? onClick(event) : void 0;
1576
+ const handleClick = (event) => {
1577
+ if (disabled) {
1578
+ } else {
1579
+ event.currentTarget.blur();
1580
+ onClick(event);
1581
+ }
1582
+ };
1577
1583
  const handleKeyDown = (event) => {
1578
1584
  if (disabled)
1579
1585
  return;