yuntaozhu / closure-library

Automatically exported from code.google.com/p/closure-library
0 stars 0 forks source link

DragListGroup, HotFix for bug in chrome #508

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I am using DragListGroup with RIGHT_2D direction and compiling the code after 
with ADVANCED_OPTIMIZATIONS flag. Before compiling everything works fine. After 
compiling it doesn't work. Problem is reproducable in Chrome 24.0.1297.0 (in 
versions below I experinced the same problem).

I made a very primitive example a also found solution for that (see attached 
file).

Solution is to assign distanceToClosestRow variable to any global variable or 
output it to console, than everything works fine.

What steps will reproduce the problem?
1.
2.
3.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

Please provide any additional information below.

Note: we cannot accept patches without the contributor license agreement
being signed. See http://code.google.com/p/closure-
library/wiki/Contributors for more info.

Original issue reported on code.google.com by dmitry.m...@gmail.com on 21 Oct 2012 at 1:11

GoogleCodeExporter commented 8 years ago

Original comment by pall...@google.com on 16 Nov 2012 at 9:01