Bug: originalEvent is lost when turning a page using KeyTable
Bug: originalEvent is lost when turning a page using KeyTable
sliekens
Posts: 97Questions: 17Answers: 2
When the current page changes as the result of using the arrow keys with KeyTable, the originalEvent
of the key-focus
event is lost.
Expected behavior: the originalEvent
argument is a jQuery event object.
Actual behavior: the originalEvent
argument is null
http://live.datatables.net/rexereni/1/edit?js,console,output
- Select any cell
- Press the down arrow key until the end of the page is reached
- Press the down arrow key once more to turn the page
- Error in the console!
This discussion has been closed.
Replies
Completely agree. Thanks!
Fix committed here and it will be in the next release of KeyTable. The nightly will rebuild in the next few minutes.
Allan
Thanks for the quick solution. I wonder if you ever sleep between answering questions and working on DataTables? Jokes aside, thanks for taking the time to reply.