luwes / luwes/selectlist-polyfill

Opened List not being re-positioned

Open
#10 0 comments 0 reactions 0 assignees View on GitHub
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:

Bildschirmfoto 2023-08-19 um 17 11 12

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.