v16.0.0 #661
MurhafSousli
started this conversation in
General
v16.0.0
#661
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
What's Changed
scrollViewport
directive can be a descent child, not necessarily a direct child of<ng-scrollbar externalViewport>
.start
,end
,right
,bottom
andcenter
options toscrollToElement
(supports RTL), closes #637.syncSpacer
directive that is applied on<ng-scrollbar externalViewport>
component to sync spacer element with content dimension changes.ResizeObserver
loop completed with undelivered notifications, closes #650.externalViewport
such as integrating with 3rd party library.asyncDetection
Use the content observer service from the CDK to detect viewport and content wrapper elements.--scrollbar-thumb-hover-color
not only when hovered but also when active.track
andthumb
controls uses more accurate measures usinggetBoundingClientRect
instead of direct size properties.InputSignal
instead of standards inputs across components.ngOnInit
to initialize the scrollbar component.scrollViewport
directive fromng-scrollbar
hostDirectives because it's redundant.TrackAdapter
now uses viewport & content dimension signals to update the track size instead ofResizeObserver
events.Breaking changes
cdkVirtualScrollViewport
no longer acceptsauto
value, instead usesyncSpacer
<ng-scrollbar externalViewport cdkVirtualScrollViewport="auto">
<ng-scrollbar externalViewport cdkVirtualScrollViewport syncSpacer>
Full Changelog: v15.1.3...v16.0.0
This discussion was created from the release v16.0.0.
Beta Was this translation helpful? Give feedback.
All reactions