I use $ anchorscroll in my ionic app, on Android it works fine, but on iOS my content gets stuck after scrolling, I can no longer scroll.
I tried using overflow-scroll = "true", but this does not work in my application ...
Can someone help me with this please?
function scrollTo() { console.log("scroll to: " + $stateParams.id); var anchor = ''; if($stateParams.id === '') { console.log("empty"); anchor = "birthday-test"; } else { console.log("not empty"); var employee_id = $stateParams.id; anchor = "birthday-" + employee_id; } console.log("anchor : " + anchor); $location.hash(anchor); $anchorScroll(); }
source share