adopted-ember-addons / adopted-ember-addons/ember-paper

in the paper-input, tabindex attribute is applied to the container not the input

Ouverte
#618 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
JavaScript
Étoiles
879
Forks
327
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

when creating a paper-input element like
```
{{paper-input
value=email
label='email'
class="flex-100 md-block"
tabindex='1'
type="email"
autofocus="true"
onChange=(action (mut email))
required=true
}}
```
the created html looks like
```html

email




````

so the problem here is the tabindex value is applied to the md-input-container element rather than passed through to the input element. That has the effect of tabbing landing on the label and the next tab landing on the input (two tabs), rather than directly on the input (one tab).

Guide de contribution

Ouvrir le guide de contribution

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.