VTable icon indicating copy to clipboard operation
VTable copied to clipboard

[Bug] scrollStyle.barToSide=true 和emptyTip同时存在时会导致水平滚动条消失

Open li936393 opened this issue 6 months ago • 0 comments

Version

1.5.4

Link to Minimal Reproduction

https://visactor.io/vtable/demo/component/empty-tip

Steps to Reproduce

const option = { columns:Array.from(new Array(40)).map((_, idx) => { return { field: c${idx}, title: 列c${idx}, width: 'auto', sort: true } }), widthMode: 'standard', emptyTip: { text: 'no data records' }, theme:{ scrollStyle: { barToSide: true }, } };

Current Behavior

1、不配置emptyTip场景下水平滚动条正常显示 2、配置emptyTip水平滚动条消失

Expected Behavior

设置emptyTip场景下水平滚动条正常显示

Environment

- OS:Windows NT 10.0
- Browser:Chrome/127.0.0.0
- Framework:

Any additional comments?

No response

li936393 avatar Aug 12 '24 14:08 li936393