Element: [Feature Request] [Dropdown] Add a tabindex prop to override default tabindex="0"

Created on 5 Jul 2018  ·  1Comment  ·  Source: ElemeFE/element

Existing Component

Yes

Component Name

Dropdown

Description

Several components such as Dropdown or Tooltip automatically set a tabindex="0" attribute on their child element.

In certain interfaces and forms where we need more fine-grained control over the tab flow, this behaviour is not desirable.

This could be solved by simply exposing a tabindex prop (which would have a default value of 0).

feature request

Most helpful comment

@ziyoung Should we expose tabindex attribute for other components in the next major release?

>All comments

@ziyoung Should we expose tabindex attribute for other components in the next major release?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

PanJiaChen picture PanJiaChen  ·  3Comments

Kingwl picture Kingwl  ·  3Comments

yuchonghua picture yuchonghua  ·  3Comments

chao-hua picture chao-hua  ·  3Comments

mochenxm picture mochenxm  ·  3Comments