NPM Instaluj SmoothScroll-Polyfill

import smoothscroll from 'smoothscroll-polyfill'; 

// kick off the polyfill!
smoothscroll.polyfill();
Famous Ferret