@teamturing/react-kit 2.42.0 → 2.42.2

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
@@ -20406,8 +20406,10 @@ const Overlay = ({
20406
20406
  React.useEffect(() => {
20407
20407
  if (isOpen) {
20408
20408
  document.addEventListener('click', handleOutsideClick);
20409
+ document.addEventListener('touchend', handleOutsideClick);
20409
20410
  return () => {
20410
20411
  document.removeEventListener('click', handleOutsideClick);
20412
+ document.removeEventListener('touchend', handleOutsideClick);
20411
20413
  };
20412
20414
  }
20413
20415
  }, [isOpen, handleOutsideClick]);
@@ -57,8 +57,10 @@ const Overlay = ({
57
57
  useEffect(() => {
58
58
  if (isOpen) {
59
59
  document.addEventListener('click', handleOutsideClick);
60
+ document.addEventListener('touchend', handleOutsideClick);
60
61
  return () => {
61
62
  document.removeEventListener('click', handleOutsideClick);
63
+ document.removeEventListener('touchend', handleOutsideClick);
62
64
  };
63
65
  }
64
66
  }, [isOpen, handleOutsideClick]);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@teamturing/react-kit",
3
- "version": "2.42.0",
3
+ "version": "2.42.2",
4
4
  "description": "React components, hooks for create teamturing web application",
5
5
  "author": "Sungchang Park <psch300@gmail.com> (https://github.com/psch300)",
6
6
  "homepage": "https://github.com/weareteamturing/bombe#readme",
@@ -66,5 +66,5 @@
66
66
  "react-textarea-autosize": "^8.5.3",
67
67
  "styled-system": "^5.1.5"
68
68
  },
69
- "gitHead": "94a3c71c241b43a1946205576082a33047abff02"
69
+ "gitHead": "5e8126c2434986024f3e44d22f4a0cb09da3798b"
70
70
  }