adopted-ember-addons / adopted-ember-addons/ember-keyboard
Using the on-key modifier in a list, binds to all list items.
Offen
- Vorherrschende Sprache
- JavaScript
- Sterne
- 177
- Forks
- 59
- PR-Merge-Kennzahlen
- Keine gemergten PRs in 30 T.
Beschreibung
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?
Beitragsleitfaden
Rechercherichtung
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.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- javascript
- Bereich
- frontend
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Muss geklärt werden
- Anfängerfreundlichkeit
- 35/100