VTable
VTable copied to clipboard
[Bug] scrollStyle.barToSide=true 和emptyTip同时存在时会导致水平滚动条消失
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