Bug: originalEvent is lost when turning a page using KeyTable

Bug: originalEvent is lost when turning a page using KeyTable

sliekenssliekens Posts: 97Questions: 17Answers: 2
edited January 2017 in Free community support

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

  1. Select any cell
  2. Press the down arrow key until the end of the page is reached
  3. Press the down arrow key once more to turn the page
  4. Error in the console!

Replies

  • allanallan Posts: 61,723Questions: 1Answers: 10,108 Site admin

    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

  • sliekenssliekens Posts: 97Questions: 17Answers: 2

    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.

This discussion has been closed.