react-component / react-component/select

dropdown container doesnt set correct alignment on scroll

Open
#958 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
938
Forks
482
Avg merge
15h 8m
Merged PRs (30d)
2

Description

i had a dropdown inside my scrollable container
when I scroll until the bottom of dropdown , it loses the alignment

https://github.com/react-component/select/assets/29811719/de4c04b0-1a12-496f-8d1b-8feb52ee6d4f

and that's my props for alignment

dropdownAlign={{ offset: [0, 0], overflow: { adjustY: false, adjustX: false, }, }}

Contributor guide

No contributing guide indexed for this repository

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 file or test is named. Start by reproducing the dropdown inside a scrollable container with the shown dropdownAlign props, then trace the dropdown alignment behavior while scrolling to its bottom. Done means the dropdown keeps the requested alignment throughout the scroll.

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
Needs clarification
Newbie friendliness
32/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.