antd table 固定列之后滚动条无法拖动

使用a-table的fixed属性固定表格列的时候滚动条被固定列覆盖部分无法拖动
主要的问题就是固定区域盖住了横向滚动条

解决方法:将固定区域底部留出一个滚动条高度的距离
可以使用下面配置来解决

 ::v-deep .ant-table .ant-table-fixed-left {
  height: auto !important;
  bottom: 15px !important;
  &::before {
    background-color: #fff;
  }
}

设置bottom值,使得不盖住滚动条

猜你喜欢

转载自blog.csdn.net/weixin_45653441/article/details/126012142