Pressing the space button when a tree node is focused shouldn't cause the page to scroll #4663
Closed
Description
When having a TreeView with some scroll, focusing a node and pressing the space key is causing the node to scroll. IINM we should only select the node but not scrolling the page.
Is there an example you can provide via codesandbox.com?
https://codesandbox.io/s/flamboyant-lewin-zth87?file=/src/index.js
What are the steps to reproduce?
- Focus one node.
- Press space.
What is the expected result?
- The node is activated but the page doesn't scroll