Skip to content

Improve select popups #263

@rubenthoms

Description

@rubenthoms

When select elements are located at the end of a page / scrollable container, their popups are cut off. Either refactor the select component or find a different solution to this issue.

image

The idea is to stick to how the native select component works. Here are some screenshots of how it works including an evalutation if the behaviour can be recreated for custom popups using JavaScript.

  1. select at end of scrollable container with enough space below - popup displays at top level, independent of scroll area:
    image
  • Can be recreated by appending the popup to body.
  1. select at end of browser window - popup displays outside of browser window:
    image
  • Impossible to recreate this behaviour
  • Possible workaround: display popup above custom select component
  1. select at end of browser window while the latter is in full screen mode - popup displays above select component:
    image
  • Recreatable with same approach as in 2.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

Status

Backlog 📝

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions