scroll is working natively, remains to find a good js scroll. fix #12

This commit is contained in:
Bachir Soussi Chiadmi
2018-03-13 21:13:08 +01:00
parent 006a50d899
commit 5b725dbf53
5 changed files with 32 additions and 13 deletions
@@ -220,9 +220,14 @@
// |___/\__|_| \___/_|_|___/\__,_|_| /__/
function initScrollbars(){
console.log("initScrollbars");
$('.os-scroll').overlayScrollbars({
overflowBehavior:{x:'h',y:'scroll'}
});
// TODO: find a better js scroll than overlayScrollbars which does not handle well max-height + overflow-y:auto;
// $('.os-scroll').overlayScrollbars({
// overflowBehavior:{
// x:'h',
// y:'scroll',
// clipAlways:false
// }
// });
};
// _ _