Ok,
So I have standard sencha-touch panel, and because this application needs to be capable of interaction for both mobile users and desktop(webkit) users, I need this to feel and look like a standard web application. How do I replace the touch scrollbars, with permanent browser scrollbars when browsing with a desktop browser?
I am sure I can workout how to run based on device, but I do not know how to replace the scrollbars. I am running the latest version of sencha touch – 2 beta.
Cheers, Josh
Ok, so for any future sencha users this is the workaround I managed to come up with:
Add this function anywhere:
This function will check for mobile/ipad, then if neither of these are found (likely to be pc) then disable sencha touch scrollbar, hide scrollbar and add standard html scrollbar.
This function is used for example as follows and should work on panels, lists, etc:
I would like to have this implemented as a plugin, but have no idea how to add it to the ‘container’ class’s constructor.
**note this is a ipad/pc specific app.
Hope this helps someone 🙂