adopted-ember-addons / adopted-ember-addons/ember-keyboard
Using the on-key modifier in a list, binds to all list items.
Aperta
- Lingua principale
- JavaScript
- Stelle
- 177
- Fork
- 59
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
Hey,
Love the on-key modifier, however when using it in a list I observe the following:
```
- tabindex="0">{{item.name}}
{{#each listItems as |item|}}
{{/each}}
```
When I focus the list item and hit enter, I see an alert triggered for each of the items.
Any guidance on this?
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Start by reproducing the list example using the on-key modifier and the Enter key, then inspect how handlers are attached when the list is rendered. Done means pressing Enter on one focused list item triggers only that item's alert rather than every item's alert.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- javascript
- Ambito
- frontend
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 35/100