Components: cdk-virtual-scroll: viewport does not render correct number of items after browser zoom

Created on 17 Aug 2019  路  3Comments  路  Source: angular/components

See https://stackblitz.com/edit/angular-ndhumn for repro. If the page is refreshed after zooming everything works as expected, so its probably a cached size that needs to be re-measured after zooming

G P3 has pr

Most helpful comment

A workaround for this is to listen for window resize events and call checkViewportSize: https://stackblitz.com/edit/angular-ob6zq5?file=src/app/app.component.ts

All 3 comments

A workaround for this is to listen for window resize events and call checkViewportSize: https://stackblitz.com/edit/angular-ob6zq5?file=src/app/app.component.ts

is this the same problem as the one described in https://github.com/angular/components/issues/16775 ?

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

_This action has been performed automatically by a bot._

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Miiekeee picture Miiekeee  路  3Comments

xtianus79 picture xtianus79  路  3Comments

julianobrasil picture julianobrasil  路  3Comments

LoganDupont picture LoganDupont  路  3Comments

theunreal picture theunreal  路  3Comments