Skip to content

Typeahead overlay position is fixed #1588

@ljanner

Description

@ljanner

Prerequisites

  • I have read the Contributing Guidelines.
  • I have not leaked any internal/restricted information like screenshots, videos, code snippets, links etc.

Affected component

typeahead and filtered search

Summary

When opening the typeahead and then scrolling the overlay position is fixed and remains on the screen instead of scrolling away.


The cdk popover gets the position fixed instead of absolute.

Image

Version

No response

Steps to reproduce

  1. Open the example linked below
  2. Open the typeahead overlay by clicking into the search bar
  3. Type "Flo"
  4. Scroll down the page

Code reproduction example

Example

What is the current bug behavior

When opening the typeahead and then scrolling the overlay position is fixed and remains on the screen.

What is the expected correct behavior

The typeahead overlay should keep it's absolute position and scroll away.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions