9

I have a div, so that when I click, it will toggle to expand, or retract. It works pretty well on all browsers, though there is a thing that intrigues me. On Google Chrome when it retracts it leaves small lines from the movement. www.rezoluz.com/login.php - The page

To see it, open that page with Google Chrome. And click on the register button twice, on the second time it will leave lines, normally, but not on other browsers. I'm using a standard .animate, with jquery. All help is greatly appreciated.

SCREENSHOT:

See the lines beneath

Also, here is a jsfiddle showing the result : http://jsfiddle.net/rwQPu/2/ . Error in Chrome 21.0.1180.81 beta-m Win7.

Alexandre Hitchcox
  • 2,704
  • 5
  • 22
  • 33
  • I can reproduce in Chrome Version 21.0.1180.79 on OSX, and have seen similar artefacts elsewhere from time to time. – PeterT Aug 18 '12 at 01:40
  • I can't see it on your site, but I have seen weird animation issues like that in chrome lately. – John Koerner Aug 18 '12 at 01:40
  • Please include the particular code in question here. Also it is helpful if you create an example using a tool such as [jsfiddle](http://jsfiddle.net/) that includes a small focused test case. – Josh Mein Aug 18 '12 at 01:41
  • For anyone that doesn't see it: http://imageshack.us/photo/my-images/717/23053889.png/ – Lil' Bits Aug 18 '12 at 01:42
  • Seems fine in my version of Chrome (21.0.1180.79), but I know I had a issue with this in Chrome on a different PC yesterday. A known work around is to define the border and background of the elements that are moving in CSS. – Jeemusu Aug 18 '12 at 01:47

2 Answers2

5

It's a bug of chrome. See a previously asked question here :

Odd “shaking” effect when animating width with jQuery (only in Chrome!)

Community
  • 1
  • 1
ygssoni
  • 7,219
  • 2
  • 23
  • 24
1

This is not a coding problem but actually a bug in certain versions of Google Chrome, as unlikely that may sound. There is no fix as far a I know, we just need to wait for Google to resolve their problem, knowing Google that will be done from the moment they find out about it.

Alexandre Hitchcox
  • 2,704
  • 5
  • 22
  • 33