@carbon/ibm-products 1.41.2 → 1.41.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -44,7 +44,11 @@ export var TagSetOverflow = /*#__PURE__*/React.forwardRef(function (_ref, ref) {
44
44
  var overflowTagContent = useRef(null);
45
45
  var handleChange = function handleChange(ev, _ref2) {
46
46
  var open = _ref2.open;
47
- setTipOpen(open);
47
+ if (ev.type === 'click') {
48
+ setTipOpen(function () {
49
+ return open;
50
+ });
51
+ }
48
52
  };
49
53
  var handleShowAllTagsClick = function handleShowAllTagsClick(ev) {
50
54
  ev.stopPropagation();
@@ -47,7 +47,11 @@ var TagSetOverflow = /*#__PURE__*/_react.default.forwardRef(function (_ref, ref)
47
47
  var overflowTagContent = (0, _react.useRef)(null);
48
48
  var handleChange = function handleChange(ev, _ref2) {
49
49
  var open = _ref2.open;
50
- setTipOpen(open);
50
+ if (ev.type === 'click') {
51
+ setTipOpen(function () {
52
+ return open;
53
+ });
54
+ }
51
55
  };
52
56
  var handleShowAllTagsClick = function handleShowAllTagsClick(ev) {
53
57
  ev.stopPropagation();
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@carbon/ibm-products",
3
3
  "description": "Carbon for IBM Products",
4
- "version": "1.41.2",
4
+ "version": "1.41.3",
5
5
  "license": "Apache-2.0",
6
6
  "main": "lib/index.js",
7
7
  "module": "es/index.js",
@@ -95,5 +95,5 @@
95
95
  "react": "^16.8.6 || ^17.0.1",
96
96
  "react-dom": "^16.8.6 || ^17.0.1"
97
97
  },
98
- "gitHead": "9617ce2463ce095784a946dc594610a2c9642295"
98
+ "gitHead": "f91a72b3d95231f9922efb221734248b45254fa5"
99
99
  }