I am working on react and I am using Select component provided by the material. (https://material-ui.com/components/selects/). Upon opening the dropdown, if I press a key and there is an option that starts with that key, the corresponding option is automatically selected. This is true for normal HTML select element too. For Example - If available options are Mike, Robert, Julie, Casie and after opening dropdown I press key R on my keyboard, the selection jumps to Robert automatically Is there any way I can prevent this behavior? I tried to add onKeyPress event to Select component but it is not getting fired.
Steps to reproduce:
- go to https://material-ui.com/components/selects/
- Open any of the dropdowns
- Press key T
- The option Ten automatically gets selected.