After pushView the content dosnt scroll verticaly ...
Hello, I wuld like to ask for a hint. I'm using the backstack with trigger.io for mobile app (testing currfently on android phone) and have problem that I cant resolve. I have a list of products iwant display using BackStack pushView(). Prodocts displays correctly but the view doesnt scroll verticaly (and it should because I have many products/items). When I dont use Backstack and just replace the container div with the same html as used with back stack, the scroll bar appears correcly. Is there something I miss?
Thank you ...
Can try to run this sample page: http://pwalczyszyn.github.com/backstack to see if scrolling works on your device? Scrolling should work in About and API sections.
To make it work I had to enforce overflow-y: scroll !important; on a divs that wrap those views.
I just found out that you put div with some styles around my content and this styles cause the non vertical scrolling. I just did a little proof when I attached the viewActivate event to code that takes the content of this backstask div and put it into the my div(content) Then the scrolling works fine ... Its a bit complicated but works so far ...
the solution is simple: just change element 'overflow' style from 'hidden' to 'scroll';
line 558:
view.$el.css({position:'absolute', visibility:'hidden', overflow:'hidden' ...
becomes
view.$el.css({position:'absolute', visibility:'hidden', overflow:'scroll' ...