Element: [Bug Report] Table cannot drag scrollbars with a fixed column position mouse when the height and fixed column are set

Created on 6 Aug 2019  ·  5Comments  ·  Source: ElemeFE/element

Element UI version

2.11.1

OS/Browsers version

所有

Vue version

2.6.10

Reproduction Link

https://codepen.io/anon/pen/xvPXpL

Steps to reproduce

在固定列的位置鼠标无法拖动滚动条

What is Expected?

可以拖动滚动条

What is actually happening?

无法拖动滚动条

Most helpful comment

兄弟 看这里 https://github.com/ElemeFE/element/pull/16915

你可以先在自己工程里 加上

.el-table--scrollable-x .el-table__body-wrapper {
    z-index : 1;
}

All 5 comments

Translation of this issue:

Element UI version

2.11.1

OS/Browsers version

All

Vue version

2.6.10

Reproduction Link

Https://codepen.io/anon/pen/xvPXpL

Steps to reproduce

Mouse cannot drag scrollbar at fixed column position

What is Expected?

You can drag the scroll bar

What is actually happening?

Cannot drag scrollbar

兄弟 看这里 https://github.com/ElemeFE/element/pull/16915

你可以先在自己工程里 加上

.el-table--scrollable-x .el-table__body-wrapper {
    z-index : 1;
}

已知问题。

看了评论 感觉应该使用下面代码, 如果使用 xrkffgg 这个用户的代码 会使得 右fix column 的左边框消失
.el-table--scrollable-x .el-table__body-wrapper .el-table__body { z-index : 1; }

those way have not help, for me . has other any more way? >_<

.el-table--scrollable-x .el-table__body-wrapper {
    z-index : 1;
}
.el-table--scrollable-x .el-table__body-wrapper .el-table__body { z-index : 1; }
Was this page helpful?
0 / 5 - 0 ratings

Related issues

gengxuelei picture gengxuelei  ·  3Comments

no5no6 picture no5no6  ·  3Comments

Kingwl picture Kingwl  ·  3Comments

yubo111 picture yubo111  ·  3Comments

fscardua picture fscardua  ·  3Comments