I was having a discussion with a co-worker about this. We concluded the same problem was with mousetrap as you also did. I had no idea there was a scoped: true option available. And since then our plan was to remove the mousetrap dependency and instead rely on jQuery.which since jQuery is still a requirement for Ember at the moment so we know it will be there, doesn't rely on yet another library, and which normalizes the inconsistencies of keyboard events between browsers.
So I'm at a cross roads: continue using mousetrap or switch to jQuery. I think a point release with your fix and then another with jQuery. @tneems would you be willing to chime in?
I was having a discussion with a co-worker about this. We concluded the same problem was with mousetrap as you also did. I had no idea there was a
scoped: true
option available. And since then our plan was to remove the mousetrap dependency and instead rely onjQuery.which
since jQuery is still a requirement for Ember at the moment so we know it will be there, doesn't rely on yet another library, andwhich
normalizes the inconsistencies of keyboard events between browsers.So I'm at a cross roads: continue using mousetrap or switch to jQuery. I think a point release with your fix and then another with jQuery. @tneems would you be willing to chime in?
Fixes issue #45