我在我的离子应用程序中使用$ anchorscroll,在Android上它工作正常,但在iOS上我的内容在滚动后卡住,我无法再向上滚动。离子anchorscroll不能在iOS上工作
我尝试使用溢出滚动=“真”,但是这并不在我的应用程序工作,要么...
有人可以帮我这一个吗?
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();
}