bxslider calculating wrong viewport size on load
可以将文章内容翻译成中文,广告屏蔽插件可能会导致该功能失效(如失效,请关闭广告屏蔽插件后再试): 问题: Anyway I recently started using bxslider and I'm having an issue with it. It seems to calculate its viewport size wrongly on page load, which means it doesn't work well on mobile devices, tablets etc. The weird thing is, when I resize the window of the browser(even just for a pixel) the viewport height gets calculated correctly and everything looks fine. But if I refreshed the page with same height and width bx-viewport wouldn't be correctly calculated. Any idea why this is happening? HTML looks something like this(and yeah I'm aware that it