react-component / react-component/select
Select component doesn't render in Portal
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 938
- Forks
- 482
- Avg merge
- 15h 8m
- Merged PRs (30d)
- 2
Description
The Select component, drop-down list doesn't render in a Portal causing issues with z-index and overflows when used inside pop-up modals.
https://react.dev/reference/react-dom/createPortal
By itself, on main page things mostly work, but with modals, tables and various elements that have z-index' set it causes issues.
React.createPortal exists for this to render list outside the dom-tree and have it properly overflow any element.
Contributor guide
No contributing guide indexed for this repository
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 Select dropdown inside a modal with z-index and overflow constraints, then review the React createPortal reference linked in the issue. Done means the dropdown renders outside the constraining DOM tree and remains usable in the reported modal, table, and layered-element scenarios.
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
- 45/100