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

Avoid `keyUp` events from other tabs

Đang mở
#61 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
JavaScript
Star
177
Fork
59
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

Hi, my application has a shortcut on the 'w' key on `keyUp`.

If I land on my application in a browser tab after using the default `super+w` to close another tab, the shortcut will fire without the user intending to.

So my question is, is there a way to avoid `keyUp` events that were started (`keyDown`) in another tab?

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.