@sheinx/base 3.9.15-beta.3 → 3.9.15-beta.4

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.
@@ -602,7 +602,9 @@ function Table(props) {
602
602
  style: {
603
603
  position: 'relative',
604
604
  zIndex: 1,
605
- marginTop: props.sticky ? 0 : -virtualInfo.headerOffset
605
+ marginTop: props.sticky ? 0 : -virtualInfo.headerOffset,
606
+ transform: 'translateY(var(--sticky-compensation, 0px))',
607
+ willChange: 'transform'
606
608
  },
607
609
  children: $headTable
608
610
  }), !!((_props$data3 = props.data) !== null && _props$data3 !== void 0 && _props$data3.length) && /*#__PURE__*/(0, _jsxRuntime.jsxs)("table", {
@@ -595,7 +595,9 @@ export default function Table(props) {
595
595
  style: {
596
596
  position: 'relative',
597
597
  zIndex: 1,
598
- marginTop: props.sticky ? 0 : -virtualInfo.headerOffset
598
+ marginTop: props.sticky ? 0 : -virtualInfo.headerOffset,
599
+ transform: 'translateY(var(--sticky-compensation, 0px))',
600
+ willChange: 'transform'
599
601
  },
600
602
  children: $headTable
601
603
  }), !!((_props$data3 = props.data) !== null && _props$data3 !== void 0 && _props$data3.length) && /*#__PURE__*/_jsxs("table", {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sheinx/base",
3
- "version": "3.9.15-beta.3",
3
+ "version": "3.9.15-beta.4",
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.9.15-beta.3",
13
+ "@sheinx/hooks": "3.9.15-beta.4",
14
14
  "immer": "^10.0.0",
15
15
  "classnames": "^2.0.0",
16
16
  "@shined/reactive": "^0.3.3"