yyx990803 / zoomerang

drop in zoom anything

Home Page:http://yyx990803.github.io/zoomerang/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Image not coming back to original position (Chrome)

isoriaizquierdo opened this issue · comments

It seems that theres a new problem with zoomerang in Chrome.

When I zoom an image and then close it, the image doesn't come back to the original position, it applies a transform: translate(_px, _px);

It has to be some update from Chrome because previously was working fine.
You can see what I mean in your demo (mickey image): http://yyx990803.github.io/zoomerang/
In Safari works all fine.

Chrome's version I'm using:
44.0.2403.130 (64-bit)

Any idea of what it could be?
Thanks!

I meet this problem too.
And it's about the newest Chrome too.

Same problem here:
does not work under chrome 44, windows
works in chrome 43 windows, firefox 38, windows, chromium 43 ubuntu
probably a chromium bug then?

same problem here

+1, still having this issue with Chrome

+1

Here is a screenshot showing the Mickey Mouse image not having returned to its original position on Chrome 49.0.2587.3 dev (64-bit) on OS X 10.11:

zoomerang-element-returned-to-incorrect-position

The object inspector shows the image element having attribute style="transform: translate(-411.203px, 83.3125px);" after returning.

The span elements return to their original positions without problems.

图片回不到原来的位置,大牛

+1 firefox

I've opened a pull request for this issue; please confirm that it's now working

Fixed in 0.1.10.