DataZombies / jQTouch

jQT extensions jqt.activityIndicator, jqt.bars (with numeric badges), jqt.checkGroup & jqt.segmentedControl.Get updates via Twitter http://twitter.com/HeadDZombie. If you find this fork useful please make a donation via PayPal (http://tinyurl.com/2fpmx27). See below for demo links.
MIT License
159 stars 34 forks source link

keep_tabbar class deleted by jtouch when it adds current class with lastet release #9

Closed giuliano closed 13 years ago

giuliano commented 13 years ago

As of the last release of dz jqt, the keep_tabbar class is deleted by jqtouch when it adds class current to a page.

rgporter commented 13 years ago

I think I'm experiencing this too. I have one tabbar button that loads a form page (webapp email contact form) and no matter what I seem to do the whole tabbar vanishes when I go to the contact form.

Tried: removed all iscroll references, (s-pane, etc), added keep_tabbar class to page div, and/or to form tag. None of these have worked yet.

(and wow, thank you for this fork, it's amazing! I like it better than the native app tabbar.)

correction - "keep_tabbar" class works in the page div, but only once -- if you go to that page, leave, then return the bar vanishes.

DataZombies commented 13 years ago

I have NO idea why the keep_tabbar class is whacked. When observing the form page in the inspector I definitely see that class disappearing. I'l open a ticket on senchalabs/jQTouch & try to contact Jonathan. Sorry, I won't have an ETA on when this will be fixed.

DataZombies commented 13 years ago

Ok, fixed. I modified the code to allow any tab on a page to have the keep_tabbar class. I think the most appropriate place for it is in the form tag.

rgporter commented 13 years ago

Wow, that was fast! Excellent work. Thanks for the advice on where to put the keep_tabbar class, too!