Open ghost opened 9 years ago
same here, found a solution?
no. I call callback 'updateSizes' some times and carousel calculate mobile browser url bar height) only when scroll top, and only when scroll bottom after this bar hide
This issue still open! Can anyone have some solution?
Ok. Here is a solution $(window).scroll(function () { $("body").attr("height",$(document).scrollTop()); });
$(window).on("resize", function(e){ e.preventDefault(); $(document).scrollTop($("body").attr("height")) });
I have a slider with 2 slides. Options: { responsive:true, height: 'variable' }
When scroll bottom (on mobile), browser address bar pannel will hide, slider update height and jump to top. And when scroll to top, browser address bar pannel will show and slider update sizes and jump to top too. How fix it?