I love SPFjs and I use it for a year now but there is something I never was able to do is to restoring scroll position on back and forward navigation, it seem to work very well on Youtube.com but on my app (chrome dekstop or android) and on the documentation as well, it doesnt work at all.
This is my js now :
$(document).on("spfprocess",` function(e){
});
$(document).on("spfrequest", function(e){
NProgress.start(); // start progress bar
});
$(document).on("spfdone", function(e){
NProgress.done(); // progress bar done
});
$(document).on("spfhistory", function(e){
NProgress.start(); // start progress bar
});
spf.init();
I love SPFjs and I use it for a year now but there is something I never was able to do is to restoring scroll position on back and forward navigation, it seem to work very well on Youtube.com but on my app (chrome dekstop or android) and on the documentation as well, it doesnt work at all.
This is my js now :
Any help ? Thanks