数千个元素可能存在可拖动/可丢弃性能错误

时间:2014-02-28 21:08:23

标签: javascript jquery jquery-ui

鼠标释放后,在~2.5s后调用droppable drop call,稍后在~90ms。我认为当droppable贪婪是假的时候可以优化。早期的jQuery UI版本,例如1.9.2,在恒定的〜120ms内执行。仅在最新的Chrome上进行测试。

http://jsfiddle.net/6DLSw/3/

Open up your browser console and hit run.
Then try dragging the red square somewhere and drop it by releasing the mouse.

我做错了吗?有关如何在不降级的情况下快速优化的任何建议吗?

0 个答案:

没有答案