Return to site

Sencha touch does not scroll down bounces top

broken image
broken image

Erroneously, when Ext JS activated the next tab, it placed the tab's outside of the scrolling class (marked by x-scroll-scroller) rather than inside it. We could use these to see the proper tab content. One was that the second tab appeared empty but with scroll bars. I'm looking to find a way to stop this from happening. I can't think why this would be the case and suspect that it is causing a full dialog refresh, rather than just the tab, which I don't see why the refresh is needed anyway. Interestingly by switching the tab page it caused 96 scollers to be reset. The reset function de-did stuff, including setting the scroll back to the top. First, the jump to the top was caused by a reset of the scroller after switching the active tab. There are a couple of problems that this created for me. This causes ExtJS to add in special scrolling classes to deal with the user scrolling on the body of the dialog with his finger. The difference between my two PC's is that the laptop has a touch screen. Just to let you know that I found out what was happening with some further digging around.

broken image