Releases: dhilt/ngx-ui-scroll
Releases · dhilt/ngx-ui-scroll
Entire window in IE/Edge
Now the engine relies on "window" and "document" objects in case of the entire window.
Promisification of the Adapter methods
Angular <9 support fix
- downgraded TypeScript to v1.6 due to breaking change in v1.7 (microsoft/TypeScript#33939)
Angular 9 support
- moved demo App and lib build to Angular 9
- updated lib build process in accordance with the latest versions of the packages involved
- improved log process run logging
Support native scroll-anchoring
From this moment we can forget about "overflow-anchor" css property.
Entire window on Mobile fixes
The requirement of setting "overflow-anchor: none" on the topmost DOM node (html/body) for the case of Entire Window is appeared.
Scroll to item via Adapter.fix
this.datasource.adapter.fix({
scrollToItem: ({ $index }) => $index === indexToScroll
});
Input data unified validation
Both Datasource input params (get, settings, devSettings) and the Adapter methods arguments are being validated by single utilities chain. Validation rules are set declaratively and do not imply discrepancies between different types of entities to be validated.
Inertia
Refactoring
- remove synchronous errors handling from tests (#154)
- types refactoring