element [bug report] when a horizontal scroll bar appears on the page and the position of the El table needs to be scrolled horizontally to be displayed, the whole header of the table becomes draggable.

u0njafvf  于 2022-11-13  发布在  其他
关注(0)|答案(2)|浏览(108)

Element UI version

2.15.6

OS/Browsers version

macos 11.4 / chrome 95.0.4638.54(正式版本) (x86_64)

Vue version

2.6.14

https://codepen.io/yemubing/pen/LYjzmqK

Steps to reproduce

见 重现链接

What is Expected?

需要滚动才能显示的el-table,只是在表头的单元格的边框附近才能拖拽。

What is actually happening?

需要滚动才能显示的el-table,整个表头都能拖拽。

m2xkgtsf

m2xkgtsf1#

Translation of this issue:

Element UI version

2.15.6

OS/Browsers version

MacOS 11.4 / Chrome 95.0.4638.54 (official version) (x86_64)

Vue version

2.6.14

https://codepen.io/yemubing/pen/LYjzmqK

Steps to reproduce

See reproduction link

What is Expected?

The El table that can only be displayed by scrolling can only be dragged near the border of the cell in the header.

What is actually happening?

For the El table that can be displayed only by scrolling, the whole header can be dragged.

相关问题