luwes / luwes/selectlist-polyfill
Opened List not being re-positioned
- Dominant language
- JavaScript
- Stars
- 59
- Forks
- 2
- PR merge metrics
- No merged PRs in 30d
Description
I noticed the listbox is not positioned well for me, in both Firefox and Chrome. Using the [edgedemo](https://selectlist-polyfill.vercel.app/examples/edgedemos.html) here:
Not colliding with the edge of the viewport and thus not positioning itself above the trigger button. (The black line indicates the end of the window).
Is it supposed to be part of this polyfill to handle positioning? How to support this?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the issue in the linked edgedemo in Firefox and Chrome, comparing the listbox position with the viewport edge and trigger button. Then inspect the polyfill's positioning behavior to determine whether viewport collision handling is in scope. Done means the expected positioning behavior is defined and the listbox avoids overflowing the viewport when opened.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 32/100