react-component / react-component/tree-select
Have the dropdown be relative to the parent and not the body when on scrollable modal
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 312
- Forks
- 204
- Avg merge
- 37m
- Merged PRs (30d)
- 1
Description
I'm currently using the tree select on a scrollable modal. The issue is that the dropdown positioning is relative to the body and not to the modal, causing it to remain absolutely positioned on the screen and not scrolling along with the modal (as the body is not being scrolled).
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 TreeSelect inside a scrollable modal and tracing how the dropdown position is calculated relative to the body. Verify the result while scrolling the modal; done means the dropdown stays positioned with the modal content instead of remaining fixed to the viewport.
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
- 42/100