troubleshooting Question

After toggleClass tap fails in Cordova app

Avatar of Marco Gasi
Marco GasiFlag for Spain asked on
5 Comments1 Solution218 ViewsLast Modified:
Hi all.
Iìm learning about Cordova apps. I'm trying to use a very basic example of a page using jquery and Bootstrap 3. The pge has a left sidebar and a button which makes the sidebar slideLeft and slideRight alternatively using toggleClass.
Once build the Cordova app, it works fine in my smartphone running Android 4.4.4, but in my tablet with Android 4.1.2, after the first tap, which works, the secons takes no effect.
The problem is present only if I try to toggle classes: with a simple alert, the app works. I also changed the code in order to change the body background color at each tapping and this also worked fine.
Have you any idea?
Brandon LyonFrontend Engineer and UX

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 5 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros