diff --git a/package.json b/package.json index 44e81f4eb..1a5945e28 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "sheinx", "private": true, - "version": "3.5.2-beta.10", + "version": "3.5.2-beta.11", "description": "A react library developed with sheinx", "module": "dist/index.js", "types": "dist/index.d.ts", diff --git a/packages/base/src/virtual-scroll/scroll.tsx b/packages/base/src/virtual-scroll/scroll.tsx index cc8041db2..f6b8a2dce 100644 --- a/packages/base/src/virtual-scroll/scroll.tsx +++ b/packages/base/src/virtual-scroll/scroll.tsx @@ -37,7 +37,7 @@ const Scroll = (props: scrollProps) => { isMouseDown: false, }); const { scrollHeight = 0, scrollWidth = 0, defaultHeight = 0 } = props; - const { width, height: h } = useResize({ targetRef: containerRef }); + const { width, height: h } = useResize({ targetRef: containerRef, timer: 0 }); const height = h || defaultHeight; const config = useConfig(); const isRtl = config.direction === 'rtl'; diff --git a/packages/shineout/src/table/__doc__/changelog.cn.md b/packages/shineout/src/table/__doc__/changelog.cn.md index 8d16892ee..3cf5fb7a1 100644 --- a/packages/shineout/src/table/__doc__/changelog.cn.md +++ b/packages/shineout/src/table/__doc__/changelog.cn.md @@ -1,3 +1,10 @@ +## 3.5.2-beta.11 +2024-11-27 + +### 🐞 BugFix + +- 修复 `Table` 设置了`fixed`或`virtual`,但未设置表格高度时,动态添加表格行后横向滚动条出现抖动的问题 ([#821](https://github.com/sheinsight/shineout-next/pull/821)) + ## 3.5.1 2024-11-14