material-refresh
material-refresh copied to clipboard
Links won't work when using material refresh
links on the page isn't working when using material refresh for a scrollable page, especially when the page is at the top.
i have this problem too.
You can remove the e.preventDefault(); from the touchEnd function so the links work again. Not sure what side effects this can have but it's a quick solution.
function touchEnd(e){
if (touchPos.top > 0 || isShowLoading) {
return;
}
//e.preventDefault();
if (touchCurrentY > basePosY - customNavTop + NUM_POS_MIN_Y) {
// Should move over the min position
doRotate();
} else {
backToStart();
}
}
...