I am currently working on making my website responsive and I am interested in integrating iScroll 5 into my mobile site. However, I have encountered an issue where the scrolling becomes jerky unless I specify a width and height for certain elements.
For example, I have multiple divs with width:100%;
or divs that adjust their size based on content. How can I properly define the height and width to resolve this issue?
"iScroll requires specific dimensions for both the wrapper and scroller elements. While these are calculated at startup, if the elements change in size, we need to inform iScroll so it can adjust accordingly."