Skip to content
loading...

re: Scrolling with Page Up/Down Keys in React-Window VIEW POST

TOP OF THREAD FULL DISCUSSION
re: Thank you, Petyo for helping me understand the "why" the problem occurred. I've tried the updated list and it scrolls with keys naturally :) And ...
 

Your understanding is correct. The scrolling away from the viewport is not the problem, but rather the fact that the virtualization mechanism removes the element once it is no longer visible.

Once this happens, the browser will emit subsequent keyboard events from the document element.

Thank you again for clearing up my understanding, Petyo :)

code of conduct - report abuse