Today I am working on one android application and faced one very strange problem.My mobile application is using a jQuery mobile framework and transition effect I have used slide
effect and the problem is When I use page transitions (like slide), it create a flicking issue means blank screen appear before slide to next page.
Problem:
After a long time of search and research about jQuery Mobile js, finally I found the solution, here is the solution to get rid of such kind of the problem.The problem is in jQuery mobile Enabling/Disabling zoom code just before page transition is creating an issue.
Solution:
So, Solution of this above problem is to open your jquery mobile js and find out below line of code:
1 2 3 | meta.attr( "content", disabledZoom ); |
and replace it with the following line
1 2 3 | meta.attr( "content", enabledZoom ); |
Then it worked perfectly without a problem.I hope it works for you. Please add a comment below.
Don’t hesitate to use this code and post your comments if you need help. As always, thanks for reading. Don’t Forget to Follow us on Twitter or Subscribe us to Get the Latest Updates.
Comments (2)