Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

md-autocomplete does not respect available viewport space #2004

@WillsB3

Description

@WillsB3

In the following diagrams the outermost grey box represents the viewport.

Current behaviour

Suggestions popup always appears below the input field.

below

below current

Expected behaviour

If I have an md-autocomplete at (or near) the bottom of a window the suggestions popup should open above the autocomplete if it's too tall to fit under the input without clashing with the edge of the window, similar to how native select elements work.

above

below

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions