The polyfill for scrollIntoView doesn't work if you want to use it on an SVGElement (g, circle polygon, etc.) on Safari.
On Safari SVGElement does not inherit from HtmlElement || Element.
To make it work,
after:
import smoothscroll from 'smoothscroll-polyfill' smoothscroll.polyfill()
add:
window.SVGElement.prototype.scrollIntoView = (window.HTMLElement || window.Element).prototype.scrollIntoView