You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix(cdk/drag-drop): error if preview dimensions are accessed too early (#24498)
Fixes a null pointer exception that can happen if the page is scrolled before the user has scrolled the minimum distance. The problem was that we were expecting for the dimensions to be defined by the time the user has had the chance to scroll, but in some cases that can be circumvented.
These changes move the measurement to a getter method so that they're guaranteed to be available when they are requested.
Fixes#24497.
(cherry picked from commit 37be099)
0 commit comments