JedWatson / JedWatson/react-select

Select with portal is scrolling into hovered option.

Open
#5,654 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

issue/bug-unconfirmed
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.