OverlayScrollbars Version 2.2.0
Improvements
- Force the
scroll-behavior
css property to beauto
when the user interacts with a scrollbar to prevent smooth scrolling to apply where it shouldn't. #515 - The
viewort
,padding
andcontent
elements don't use theclass
attribute anymore for their styling. Instead each of them uses its owndata-overlayscrollbars-*
attribute. This has been done so that 3rd party libraries aren't conflicting with classnames from overlayscrollbars or vice versa. Selectors like.os-viewport
,.os-padding
or.os-content
won't work anymore. #526 #530
Changelogs:
You can read further details in the corresponding changelogs.