I am using scrollIntoView
javascript function to scroll down to an element. Element is a rectangle (<rect></rect>
) inside svg
. But this is not working at all in Microsoft EDGE browser.
this.svgDoc.getElementById('R' + this.selectedCabin.number).scrollIntoView({behavior: 'smooth', block: 'start', inline: 'start'});
Could anyone has an idea about this. Much appreciated!