When a single select input is focussed and the 'space' bar is pressed, the page scrolls down.
To Reproduce
Steps to reproduce the behavior:
Go to the 'Single select input' section of the Choices.js demo
Use Tab key to navigate to & focus a single select input
Press Space key
The selected input scrolls out of view
Expected behavior
The single select input should have opened, without the viewport scrolling and without a Space character being entered into the input's search box. This is standard behaviour for select inputs when navigating with a keyboard.
Describe the bug
When a single select input is focussed and the 'space' bar is pressed, the page scrolls down.
To Reproduce Steps to reproduce the behavior:
Tab
key to navigate to & focus a single select inputSpace
keyExpected behavior The single select input should have opened, without the viewport scrolling and without a
Space
character being entered into the input's search box. This is standard behaviour for select inputs when navigating with a keyboard.Screenshots
https://user-images.githubusercontent.com/7735945/216588751-e2d21a31-9bbe-4a85-997c-f789e7b0dffd.mov
Desktop (please complete the following information):