element [Bug Report] Prevent Key actions on tabs.

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

Element UI version

2.12.0

OS/Browsers version

Chrome

Vue version

2.6.11

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.

nr7wwzry

nr7wwzry1#

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

相关问题