Kendo React Grid reacts on pressing "Space" key

2 posts, 0 answers
  1. Alexey
    Alexey avatar
    12 posts
    Member since:
    Jul 2020

    Posted 13 Aug 2020 Link to this post

    I have a Switch component as a cell. When I press "Space" key the grid scrolls down. Is there a way to turn it off?


  2. Stefan
    Stefan avatar
    3034 posts

    Posted 13 Aug 2020 Link to this post

    Hello, Alexey,

    This is expected as space will make every scrollable container including the page itself to scroll. This come directly from the browsers and the KendoReact Grid has no control over it.

    In this case, I can suggest attaching an onkeydown event over the Grid DOM element or over the body and preventing it if it is space and also based on the target as otherwise, the user will not be able to type space inside text:


    Progress Telerik

Back to Top