so ive been looking at different articles on stack overflow and can't seem to find what im looking for.
So I just realized that the css property scroll-behavior doesn't work on safari/ ios browsers. So now im thinking i should use javascript to solve this.
This is what ive tried but it doesn't actually scroll it still jumps to the section, which means the scrollIntoView isn't working. Any suggestions?
function subnav_link_click1(){
var subnav_link_value = document.getElementById('subnav_link_id1').href;
subnav_link_value.scrollIntoView(true)
}