Proposed removal of accurateIntersection option in Sortables

0 views
Skip to first unread message

Paul Bakaus

unread,
Feb 21, 2009, 4:37:00 AM2/21/09
to jQuery Google Groups
Hey everyone,

we recently had the discussion already about hat to do with the accurateIntersection option in Sortables. For those that don't know
the specifics, the only change this option brings is that if set to true, outerWidth/outerHeight is used instead of offsetWidth/offsetHeight
for offset calculations.

Now it seems that jQuery UI 1. 7 will most likely include jQuery 1.3.2, which brings major performance gains in the outerHeight/outerWidth
methods, so I propose we remove the option entirely for 1.7 already (and default to using the outer* methods).

--
Paul Bakaus
UI Architect
--
http://paulbakaus.com
http://www.linkedin.com/in/paulbakaus

Richard D. Worth

unread,
Feb 21, 2009, 6:50:15 AM2/21/09
to jquery...@googlegroups.com
On Sat, Feb 21, 2009 at 4:37 AM, Paul Bakaus <paul....@googlemail.com> wrote:
Hey everyone,

we recently had the discussion already about hat to do with the accurateIntersection option in Sortables. For those that don't know
the specifics, the only change this option brings is that if set to true, outerWidth/outerHeight is used instead of offsetWidth/offsetHeight
for offset calculations.

Now it seems that jQuery UI 1. 7 will most likely include jQuery 1.3.2, which brings major performance gains in the outerHeight/outerWidth
methods, so I propose we remove the option entirely for 1.7 already (and default to using the outer* methods).

+1

- Richard

Scott González

unread,
Feb 21, 2009, 7:41:35 AM2/21/09
to jquery...@googlegroups.com
+1

Just tested this in Firefox 3 and IE 6, the performance is much better.


On Sat, Feb 21, 2009 at 4:37 AM, Paul Bakaus <paul....@googlemail.com> wrote:

Eduardo Lundgren

unread,
Feb 22, 2009, 12:01:13 AM2/22/09
to jquery...@googlegroups.com
+1
--
Eduardo Lundgren
Software Engineer
Liferay, Inc.
Enterprise. Open Source. For Life.
Reply all
Reply to author
Forward
0 new messages