File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
packages/base/src/polyfill Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 11import ResizeObserver from 'resize-observer-polyfill' ;
22import 'intersection-observer' ;
3- import smoothscroll from 'smoothscroll-polyfill' ;
3+ import { polyfill as scrollToPolyfill } from 'smoothscroll-polyfill' ;
44
55// @ts -ignore
66window . ResizeObserver = ResizeObserver ;
77
88// required for scrollTo methods
9- smoothscroll . polyfill ( ) ;
9+ scrollToPolyfill ( ) ;
Original file line number Diff line number Diff line change @@ -4,10 +4,10 @@ import 'core-js/modules/es.object.values';
44import 'core-js/modules/es.array.from' ;
55import ResizeObserver from 'resize-observer-polyfill' ;
66import 'intersection-observer' ;
7- import smoothscroll from 'smoothscroll-polyfill' ;
7+ import { polyfill as scrollToPolyfill } from 'smoothscroll-polyfill' ;
88
99// @ts -ignore
1010window . ResizeObserver = ResizeObserver ;
1111
1212// required for scrollTo methods
13- smoothscroll . polyfill ( ) ;
13+ scrollToPolyfill ( ) ;
You can’t perform that action at this time.
0 commit comments