@sheinx/base 3.8.2-beta.8 → 3.8.2-beta.9

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.
@@ -150,6 +150,9 @@ var More = function More(props) {
150
150
  onClick: function onClick(e) {
151
151
  return e.stopPropagation();
152
152
  },
153
+ onScroll: function onScroll(e) {
154
+ return e.stopPropagation();
155
+ },
153
156
  children: [compressed === 'no-repeat' ? null : before, after]
154
157
  })
155
158
  })]
@@ -1 +1 @@
1
- {"version":3,"file":"table.d.ts","sourceRoot":"","sources":["table.tsx"],"names":[],"mappings":"AA0BA,OAAO,EAAgB,UAAU,EAAE,MAAM,cAAc,CAAC;;AAexD,wBAqsBE"}
1
+ {"version":3,"file":"table.d.ts","sourceRoot":"","sources":["table.tsx"],"names":[],"mappings":"AA0BA,OAAO,EAAgB,UAAU,EAAE,MAAM,cAAc,CAAC;;AAexD,wBAssBE"}
@@ -320,6 +320,7 @@ var _default = exports.default = function _default(props) {
320
320
  props.onScroll(info.x, info.y, info.scrollLeft, info.scrollTop);
321
321
  }
322
322
  syncHeaderScroll(info.scrollLeft);
323
+ if (props.virtual !== "lazy") return;
323
324
  if (context.scrollingTimer) {
324
325
  clearTimeout(context.scrollingTimer);
325
326
  }
@@ -140,6 +140,9 @@ var More = function More(props) {
140
140
  onClick: function onClick(e) {
141
141
  return e.stopPropagation();
142
142
  },
143
+ onScroll: function onScroll(e) {
144
+ return e.stopPropagation();
145
+ },
143
146
  children: [compressed === 'no-repeat' ? null : before, after]
144
147
  })
145
148
  })]
@@ -1 +1 @@
1
- {"version":3,"file":"table.d.ts","sourceRoot":"","sources":["table.tsx"],"names":[],"mappings":"AA0BA,OAAO,EAAgB,UAAU,EAAE,MAAM,cAAc,CAAC;;AAexD,wBAqsBE"}
1
+ {"version":3,"file":"table.d.ts","sourceRoot":"","sources":["table.tsx"],"names":[],"mappings":"AA0BA,OAAO,EAAgB,UAAU,EAAE,MAAM,cAAc,CAAC;;AAexD,wBAssBE"}
@@ -313,6 +313,7 @@ export default (function (props) {
313
313
  props.onScroll(info.x, info.y, info.scrollLeft, info.scrollTop);
314
314
  }
315
315
  syncHeaderScroll(info.scrollLeft);
316
+ if (props.virtual !== "lazy") return;
316
317
  if (context.scrollingTimer) {
317
318
  clearTimeout(context.scrollingTimer);
318
319
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sheinx/base",
3
- "version": "3.8.2-beta.8",
3
+ "version": "3.8.2-beta.9",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "license": "MIT",
@@ -10,7 +10,7 @@
10
10
  "module": "./esm/index.js",
11
11
  "typings": "./cjs/index.d.ts",
12
12
  "dependencies": {
13
- "@sheinx/hooks": "3.8.2-beta.8",
13
+ "@sheinx/hooks": "3.8.2-beta.9",
14
14
  "immer": "^10.0.0",
15
15
  "classnames": "^2.0.0",
16
16
  "@shined/reactive": "^0.1.3-alpha.0"