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

前端 未结 5 2446
名媛妹妹
名媛妹妹 2021-02-15 23:26

I\'m animating the width of a li element using jQuery in a simple snippet of code. I\'m using hover() as the handler and .animate() to ani

5条回答
  •  旧时难觅i
    2021-02-16 00:09

    This seems to be a bug in Chrome version 21.0.1180.60 and may also be present in other versions. Nothing wrong with the code here and I guess we just leave it up to workarounds or submitting a bug report now.

    Sigh.

提交回复
热议问题