element [bug report] tab component exceeds the style of displaying scroll bar and scroll arrow

bjg7j2ky  于 2022-11-13  发布在  其他
关注(0)|答案(1)|浏览(159)

Element UI version

2.15.6

OS/Browsers version

windows/谷歌94.0.4606.81

Vue version

2.6.14

https://codepen.io/pen-pen-pen/pen/ZEJpxxz

Steps to reproduce

你们的逻辑是会给点击不能滚动tab的箭头加上is-disabled类名 一开始是对的 但是在后面切换中变成了能滚动的箭头加上了is-disabled类名

What is Expected?

点击不能滚动的箭头加上is-disabled类名

What is actually happening?

初始化的时候是对的 后面变成了能滚动的箭头加上了is-disabled类名

yyyllmsg

yyyllmsg1#

Translation of this issue:

Element UI version

2.15.6

OS/Browsers version

Windows / Google 94.0.4606.81

Vue version

2.6.14

https://codepen.io/pen-pen-pen/pen/ZEJpxxz

Steps to reproduce

Your logic is to add the is disabled class name to the arrow that can't scroll tab. At first, it's right, but in the later switching, it becomes the scrollable arrow and the is disabled class name

What is Expected?

Click the non scrollable arrow plus the is disabled class name

What is actually happening?

When initializing, it is correct, followed by a scrollable arrow and the is disabled class name

相关问题