ElemeFE / ElemeFE/element

[Bug Report] Prevent Key actions on tabs.

Open
#18,620 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.12.0

### OS/Browsers version
Chrome

### Vue version
2.6.11

### Reproduction Link
https://codepen.io/greyb_vandana/pen/bGNaYow

### Steps to reproduce
1. Open - https://element.eleme.io/2.13/#/en-US/component/tabs#basic-usage

2. Click on any one of the tabs( click "config" )

3. Now click without clicking on anywhere on the screen, press left/ right/ up/ or down arrow key.

4. Focus of tabs is changed with each keypress

### What is Expected?
An option to disable this feature.

### What is actually happening?
When you press any of the keys (left/ right/ up or down), it moves page along with tab switching that is not desired behaviour.

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.