Filter looses focus w/scrolled table and w/scrollbar shown

Filter looses focus w/scrolled table and w/scrollbar shown

XoxxoxuatlXoxxoxuatl Posts: 27Questions: 5Answers: 0

https://live.datatables.net/xehexoye/2179/edit

Dear folks,

there is a bug which puzzles me since month, finally i was at least able to reproduce the issue.

1) Go to the test case https://live.datatables.net/xehexoye/2179/edit.
2) Change the window sze until a vertical scrollbar is shown.
3) Scroll the table down for one tick.
4) Type a "F" in the first filter named "Field 1".

The focus gets lost from the filter inouinput field.

Thank you for you help in advanced.

BR,
Thomas

Answers

  • XoxxoxuatlXoxxoxuatl Posts: 27Questions: 5Answers: 0

    There is something to add...maybe it is related to this topic.

    An input filter looses its focus when the table is scrolled.

    Best Reagrds,
    Thomas

  • allanallan Posts: 64,367Questions: 1Answers: 10,627 Site admin

    When scrolling across the fixed / floating line, the element gets reinserted into the DOM which will be why it is loosing focus there. I'm surprised that it is happening with a simple key press though. I'll need to look into that.

    Allan

Sign In or Register to comment.