adopted-ember-addons / adopted-ember-addons/ember-keyboard

Using the on-key modifier in a list, binds to all list items.

オープン
#231 コメント 4 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
JavaScript
スター
177
フォーク
59
PR マージ指標
30日以内にマージされた PR はありません

説明

Hey,

Love the on-key modifier, however when using it in a list I observe the following:

```


    {{#each listItems as |item|}}
  • tabindex="0">{{item.name}}

  • {{/each}}

```

When I focus the list item and hit enter, I see an alert triggered for each of the items.

Any guidance on this?

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
javascript
領域
frontend
issue の種類
バグ
難易度
3/5
見積もり時間
1〜2日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。