sense-react-timeline-editor 1.1.31 → 1.1.32

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.esm.js CHANGED
@@ -4786,7 +4786,7 @@ var Timeline = /*#__PURE__*/React.memo(/*#__PURE__*/React.forwardRef(function (p
4786
4786
  useEffect(function () {
4787
4787
  var handleClickOutside = function handleClickOutside(e) {
4788
4788
  var target = e.target;
4789
- var actionEl = target.closest('.timeline-editor-time-area');
4789
+ var actionEl = target.closest('.timeline-editor-time-area') || target.closest('.timeline-editor-action');
4790
4790
  if (actionEl) return;
4791
4791
  engineRef.current.trigger('mousedown', {
4792
4792
  target: target,
package/dist/index.js CHANGED
@@ -4796,7 +4796,7 @@ var Timeline = /*#__PURE__*/React__default['default'].memo(/*#__PURE__*/React__d
4796
4796
  React.useEffect(function () {
4797
4797
  var handleClickOutside = function handleClickOutside(e) {
4798
4798
  var target = e.target;
4799
- var actionEl = target.closest('.timeline-editor-time-area');
4799
+ var actionEl = target.closest('.timeline-editor-time-area') || target.closest('.timeline-editor-action');
4800
4800
  if (actionEl) return;
4801
4801
  engineRef.current.trigger('mousedown', {
4802
4802
  target: target,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sense-react-timeline-editor",
3
- "version": "1.1.31",
3
+ "version": "1.1.32",
4
4
  "author": "xzdarcy",
5
5
  "license": "MIT",
6
6
  "keywords": [