Skip to content

Inverted cdk-virtual-scroll-viewport items order when they have the matTooltip directive #16130

Closed
@alvaromartmart

Description

@alvaromartmart

Reproduction

Use StackBlitz to reproduce your issue: https://stackblitz.com/edit/components-issue-trmeqm

Steps to reproduce:

  1. Add matTooltip directive to a div inside a cdk-virtual-scroll-viewport container

Expected Behavior

Items should be displayed in the original order.

Actual Behavior

The order of the items is inverted.

Environment

  • Angular: 7.0.6
  • CDK/Material: 7.1.0
  • Browser(s): Google Chrome
  • Operating System (e.g. Windows, macOS, Ubuntu): Ubuntu

Metadata

Metadata

Assignees

Labels

P2The issue is important to a large percentage of users, with a workaround

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions