Skip to content

Dropdown is not scrolled to the selected item. #6472

@IvayloG

Description

@IvayloG

Description

When select an item and open the drop down again, the drop down list is not scrolled to the selected item.

In more detail, the dropdown scrolling is executed ok and the selected item is scrolled to. The actual issue is after attaching the dropdown in the overlay hence the scrolling is not persisted.

  • igniteui-angular version: 9.0
  • browser: n/a

Steps to reproduce

  1. Open a dropdown with enough items so there is a scroll existing.
  2. Scroll down to an initially non-visible item and select it.
  3. Close & Reopen

Result

The scroll is at the top.

Expected result

The selected item should be visible and the items container scrolled down.

Attachments

Related #6459

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions