JedWatson / JedWatson/react-select
Select with portal is scrolling into hovered option.
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 28k
- Forks
- 4.1k
- PR merge metrics
- No merged PRs in 30d
Description
Are you reporting a bug or runtime error?
Bug
Hey! when i'm using Select with portal dropdown is getting scrolled on hovered option if it's not fully inside of view.
As an example i attach a video from react-select page, you can reproduce it here.
Reproduced on: Windows 10 + Chrome 114, Pop OS 22 + Chrome 111
https://github.com/JedWatson/react-select/assets/61080998/fcbbfbac-f082-4dfe-9ffe-0b8a0497242e
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the behavior in the react-select advanced portaling example using the linked video and the reported Chrome environments. Trace the portal dropdown and hovered-option behavior; done means hovering an option no longer scrolls the dropdown when that option is outside the visible area.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- react, typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100