In addon/components/ember-th/component.js there is a keyUp event which will trigger updateSort function with Enter key. However, the current code will show the error in the below screen shot when user hitting Enter ( when focusing on the header columns )
This PR is trying to fix this bug with providing a toggle: false in this.updateSort when being called in the keyUp event.
Reviewer note
not sure if we want to support the toggle the same way as in the click event
let toggle = event.ctrlKey || event.metaKey;
In
addon/components/ember-th/component.js
there is a keyUp event which will triggerupdateSort
function with Enter key. However, the current code will show the error in the below screen shot when user hitting Enter ( when focusing on the header columns ) This PR is trying to fix this bug with providing atoggle: false
inthis.updateSort
when being called in the keyUp event.Reviewer note
not sure if we want to support the
toggle
the same way as in the click eventlet toggle = event.ctrlKey || event.metaKey;