cubiq/add-to-homescreen — Issue #14: setposition problem
Author: einpol
Created: 2011-12-29 16:39:00+00:00
State: open

hi there,

when you have a look at your live demo at http://cubiq.org/dropbox/a2h/examples/simple/, you´ll see, that on orientation change back from landscape to portrait, the content is slightly moved to the left due to your script. when you i close the overlay or wait for it to close itself the problem is gone. that is exactly the problem that i have at the moment with the code. i tried to play around with your setPosition function and indeed that code causes this problem. it seems that the animation is causing this. any ideas on this topic? i also would be happy if the bubble is not moving from its previous position than rather reposition itself from the center of the screen or whatever from the beginning maybe.

thanks for any help