[select] Select options overlapping fixed navbar
Nobody has claimed this yet.
- Dominant language
- MDX
- Stars
- 4.5k
- Forks
- 226
- Avg merge
- 2d 22h
- Merged PRs (30d)
- 4
Description
As the select options appear in the #top-layer, this means that customisable select options appear above a position fixed navbar. If the user say opens a customizable select, then scrolls the page so the navbar and select options overlap. This is an issue for customizable selects as scrolling the page does not remove focus, unlike standard selects.
This seems to be an unfortunate side effect of using #top-layer, and as a developer I see two options:
- Just tolerate it.
- Implement a way to remove the options from the #top-layer when a scroll event occurs.
Regarding option 2 I implemented a solution using event listeners and DOM manipulation. This works, but it's rather unwieldy. An equivalent to hidePopover() for customisable selects would be useful here.
Contributor guide
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
No repository file, test, or entry point is named. Start by reading the issue’s discussion of the #top-layer, customizable selects, and hidePopover() comparison; completion would require a decided behavior or API plus corresponding standards tests, but the scope is not defined here.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- html
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100