jquery mobile - jquerymobile slide animation increases window width -


i trying accomplish simple slide in popup animation in jquery mobile. tested on desktop browser (chrome , firefox) , works fine. in mobile following results on pressing button:
popup comes in fine creates white space right of screen visible if user slides right. dismissing popup removes white space. happens if popup triggered using "slide" transition. know reason behavior.

popup after pressing button
white space due slide transition

i can manually resize window not sure event fires after popup done sliding in.

(i had images show don't have 10 rep cannot post them :( )

does know why happening. testing droid razr maxx (running jelly bean). have tested chrome, firefox , default browser on device. produce same result. here code:

<!doctype html>  <html ng-app>    <head lang="en">     <meta charset="utf-8" />     <meta name="viewport" content="width=device-width, initial-scale=1">     <link href="http://code.jquery.com/mobile/1.3.1/jquery.mobile-1.3.1.css" rel="stylesheet" type="text/css" />     <script src="http://code.jquery.com/jquery-1.9.1.min.js"></script>     <script src="http://code.jquery.com/mobile/1.3.1/jquery.mobile-1.3.1.min.js"></script>    </head>    <body>      <div data-role="page">       <a href="#pop" data-role="button" data-rel="popup" data-transition="slide">pop up</a>       <div data-role="popup" id="pop" data-overlay-theme="a">        <p>basic popup basic popup basic popup basic popup basic popup basic popup basic popup</p>       </div>      </div>   </body> </html> 

upon further research, found out issue fixed in latest version of jquery mobile (1.4) still in alpha phase.

http://jsbin.com/edeluh/32


Comments

Popular posts from this blog

How to mention the localhost in android -

php - Calling a template part from a post -

c# - String.format() DateTime With Arabic culture -