nitishsoni-zz / mobile-bookmark-bubble

Automatically exported from code.google.com/p/mobile-bookmark-bubble
Apache License 2.0
0 stars 0 forks source link

Bubble flickers when opened for the first time #6

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
Use the library and open the website for the first time clearing all the caches.

What is the expected output? What do you see instead?
The bubble should show be animated smoothly. But the bubble animates, suddenly 
disappears and comes back again

What version of the product are you using? On what operating system?
Source code revision c6dfec3762. On ipod touch 3 and 4.

Please provide any additional information below.

Original issue reported on code.google.com by uday.ray...@gmail.com on 23 Nov 2010 at 11:21

GoogleCodeExporter commented 8 years ago
We changed the translatey() method to translate3d(0,y,0) and started working 
fine for you. There are 3 instances in the bookmark_bubble.js which we have to 
change.

Example, 
Change
this.element_.style.WebkitTransform = 'translateY(' + 
this.getHiddenYPosition_() + 'px)';

to
this.element_.style.WebkitTransform = 'translate3d(0,' + 
this.getHiddenYPosition_() + 'px,0)';

Original comment by uday.ray...@gmail.com on 23 Nov 2010 at 11:28

GoogleCodeExporter commented 8 years ago
Thanks for pointing this out! I've updated the code to use translate3d() 
instead of translateY() everywhere as of revision 32ec3c8e64.

Original comment by ntho...@google.com on 24 Nov 2010 at 1:43