同位素变换转换位置是错误的

时间:2014-01-20 10:15:09

标签: html css css3 jquery-isotope

see the fiddle绿色框应该在蓝色框旁边但如果我添加宽度则不起作用:200px;在蓝色的盒子上。

enter image description here

<div class="item green">transform: translate (285px, 3px) NOT (307px, 3px)</div>

如果蓝框没有宽度:200px;它运作良好http://jsfiddle.net/QsCZx/14/

enter image description here

之前有人遇到过同样的问题吗?任何简单的方法来解决这个问题?

感谢您的帮助和建议

1 个答案:

答案 0 :(得分:1)

I had the same issue in Isotope v1.5.25 , in the unminified version in highp float signed_value = myIntArray.a; signed_value = value*255.0*256.0 + myIntArray.r*255.0; go to line around 601 and replace

jquery.isotope.js

with:

x = Math.round( x + this.offset.left );