Suggestions for Optimizing Sortables Performance

Suggestions for Optimizing Sortables Performance


Hey everyone,
I'm in the process of optimizing our ui.sortables implementation to be
as fast and responsive as possible on a fairly complex HTML/CSS layout
and I'm wondering if anyone has additional pointers. This mainly
affects Firefox 1.5+, which is a dog, but also touches on IE6/7.
Safari 3 is incredibly speedy by comparison and doesn't boggle much.
Currently, what we've discovered:
- 'revert: false' helps out a whole lot with responsiveness
- 'distance: "0"' helps with responsiveness
- avoid 'helper: ghost' if possible
- if you're using a helper element, append it highest up the Document
Tree as possible and possibly use one thats hard-coded
- any value on 'opacity' is a performance hit on IE
This is all short of hacking ui.sortables.js and adjusting its
behavior. Anyone have any other findings?
-Huy
















    • Topic Participants

    • huy