@douyinfe/semi-ui 2.41.1 → 2.41.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.
@@ -207,6 +207,9 @@ class Table extends _baseComponent.default {
207
207
  if (Array.isArray(flattenColumns)) {
208
208
  isFixed = flattenColumns.some(column => Boolean(column.ellipsis) || Boolean(column.fixed));
209
209
  }
210
+ if (this.adapter.useFixedHeader()) {
211
+ isFixed = true;
212
+ }
210
213
  return isFixed ? 'fixed' : 'auto';
211
214
  },
212
215
  setHeadWidths: function (headWidths) {
@@ -197,6 +197,9 @@ class Table extends BaseComponent {
197
197
  if (Array.isArray(flattenColumns)) {
198
198
  isFixed = flattenColumns.some(column => Boolean(column.ellipsis) || Boolean(column.fixed));
199
199
  }
200
+ if (this.adapter.useFixedHeader()) {
201
+ isFixed = true;
202
+ }
200
203
  return isFixed ? 'fixed' : 'auto';
201
204
  },
202
205
  setHeadWidths: function (headWidths) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@douyinfe/semi-ui",
3
- "version": "2.41.1",
3
+ "version": "2.41.2",
4
4
  "description": "",
5
5
  "main": "lib/cjs/index.js",
6
6
  "module": "lib/es/index.js",
@@ -71,7 +71,7 @@
71
71
  ],
72
72
  "author": "",
73
73
  "license": "MIT",
74
- "gitHead": "145acfe4a9dcca5eab26f40595f00eca521d0fc8",
74
+ "gitHead": "63e24c001dfdb899bd705e60e56f08e1cb66929b",
75
75
  "devDependencies": {
76
76
  "@babel/plugin-proposal-decorators": "^7.15.8",
77
77
  "@babel/plugin-transform-runtime": "^7.15.8",