You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Similar to #731 but in this case I'm not using the selector plugin-in. I'm listening for the "dgrid-sort" event which seems to be called twice when "enter" or "space is clicked. It looks like "click" and "keydown" events are fired when "enter" or "space" key is pressed.
This is my listener that appears to be called twice: grid.on("dgrid-sort", function (evt) {.....}
I'm not sure why both "click" and "keydown" events get fired on pressing enter or space keys. But the the sort Listener catches and emits "dgrid-sort" twice for enter and space key presses.
The text was updated successfully, but these errors were encountered:
Similar to #731 but in this case I'm not using the selector plugin-in. I'm listening for the "dgrid-sort" event which seems to be called twice when "enter" or "space is clicked. It looks like "click" and "keydown" events are fired when "enter" or "space" key is pressed.
This is my listener that appears to be called twice:
grid.on("dgrid-sort", function (evt) {.....}
I've traced "dgrid-sort" emission back to : https://github.com/SitePen/dgrid/blob/master/Grid.js#L279
I'm not sure why both "click" and "keydown" events get fired on pressing enter or space keys. But the the sort Listener catches and emits "dgrid-sort" twice for enter and space key presses.
The text was updated successfully, but these errors were encountered: