JedWatson / JedWatson/react-select

No focus-guard exists when select menu is open

Open
#5,819 0 comments 0 reactions 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

The native html select element blocks all pointer-events for an entire webpage when the dropdown is open.
At the moment, 'react-select' does not reflect this standard focus guard behaviour.

Select elements in other libraries have replicated this behaviour, with varying implementation methods.

Quick explanation vid is attached.
Thank you!
https://github.com/JedWatson/react-select/assets/33626784/9d06065d-0219-411e-a4a6-12bb5ac48d70

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

No source file or test is named. Start by tracing react-select's open-menu behavior and compare it with the native HTML select behavior described in the issue and attached video. Done means pointer events are guarded across the page while the menu is open and restored when it closes.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
accessibility, frontend
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 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.