ElemeFE / ElemeFE/element

[Bug Report] Tabs - Nav buttons' disabled state dont sync with view

Open
#19,881 1 comment 0 reactions 0 assignees View on GitHub
stale
Dominant language
Vue
Stars
54k
Forks
14.4k
PR merge metrics
No merged PRs in 30d

Description

### Element UI version
2.13.2

### OS/Browsers version
osx 10.13/chrome 83.0.4103.116

### Vue version
2.5.22

### Reproduction Link
https://codepen.io/mts123/pen/wvMEpOK

### Steps to reproduce
1. Make enough tabs to let nav buttons (">" & "<") show up.
2. Click ">" button more times until it can't scroll.
3. ">" button doesn't have class "is-disabled", but after you click "<" one time, it does.

### What is Expected?
when at the right(left/top/bottom) of nav, the corresponding nav button should have class "is-disabled".

### What is actually happening?
when at the right(left/top/bottom) of nav, the corresponding nav button doesn't have class "is-disabled".But after you click opposite button, it does.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.