Create a Dropdown with the wrapSelection prop set to false
add options and set disabled to true on the first or last option
use the arrow keys to move to the disabled option
Expected Result
Expected to not have an error and stay on the option prior to the disabled option
Actual Result
Receive Uncaught RangeError: Maximum call stack size exceeded when press arrow key that would move on to the disabled item.
Bug Report
Steps
Create a Dropdown with the wrapSelection prop set to false add options and set disabled to true on the first or last option use the arrow keys to move to the disabled option
Expected Result
Expected to not have an error and stay on the option prior to the disabled option
Actual Result
Receive
Uncaught RangeError: Maximum call stack size exceeded
when press arrow key that would move on to the disabled item.Version
2.1.1
Testcase
https://codesandbox.io/s/semantic-ui-react-forked-yrv1xm?file=/index.js