@zhenliang/sheet 0.1.49 → 0.1.50

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.
@@ -101,6 +101,12 @@ export var DraggableShell = function DraggableShell(_ref) {
101
101
  },
102
102
  onMouseMove: function onMouseMove(e) {
103
103
  var target = e.target;
104
+ if (target instanceof HTMLSpanElement) {
105
+ if (target.parentElement instanceof HTMLTableCellElement) {
106
+ target.parentElement.style.cursor = '';
107
+ }
108
+ return;
109
+ }
104
110
  if (e.nativeEvent.offsetX > target.offsetWidth - 8) {
105
111
  target.style.cursor = 'col-resize';
106
112
  } else {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zhenliang/sheet",
3
- "version": "0.1.49",
3
+ "version": "0.1.50",
4
4
  "description": "A react library developed with dumi",
5
5
  "license": "MIT",
6
6
  "module": "dist/index.js",