Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dropdown with wrapSelection disabled and a disabled option at the start or end causes recursion error #4462

Open
MitchellNeedham opened this issue Feb 10, 2024 · 1 comment

Comments

@MitchellNeedham
Copy link

MitchellNeedham commented Feb 10, 2024

Bug Report

Steps

Create a dropdown with wrapSelection = false.
Make the last option disabled.

Using arrows keys, move to the bottom of the dropdown list.

Expected Result

Selected item is the enabled option before the end.

Actual Result

Too much recursion error

Version

2.1.5

Testcase

https://codesandbox.io/p/sandbox/semantic-ui-react-forked-3tyzpv

Copy link

welcome bot commented Feb 10, 2024

👋 Thanks for opening your first issue here! If you're reporting a 🐞 bug, please make sure you've completed all the fields in the issue template so we can best help.

We get a lot of issues on this repo, so please be patient and we will get back to you as soon as we can.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant