JedWatson / react-select

The Select Component for React.js
https://react-select.com/
MIT License
27.63k stars 4.13k forks source link

Loop with arrow keys #5582

Open Kageetai opened 1 year ago

Kageetai commented 1 year ago

adds a new prop loopWithArrowKeys to default to true Gives the option to disable looping with using arrow keys

changeset-bot[bot] commented 1 year ago

🦋 Changeset detected

Latest commit: ddad6ed315a5c6ac0478101addf1c9e185dfd0e9

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages | Name | Type | | ------------ | ----- | | react-select | Minor | | storybook | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

codesandbox-ci[bot] commented 1 year ago

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit ddad6ed315a5c6ac0478101addf1c9e185dfd0e9:

Sandbox Source
react-codesandboxer-example Configuration
kjetilkh-politiet commented 1 year ago

Hello! We need this for a project as when used in combination with react-window it doesn't scroll when looping. This change would enable us to disable looping and prevent the issue.

Are there any maintainers/verified reviewers who can look into this? @JedWatson @Methuselah96 @lukebennett88