Ruby on Rails | Screencasts | Download | Documentation | Weblog | Community | Source

Ticket #3494 (new enhancement)

Opened 3 years ago

Last modified 3 years ago

Quiet draggables

Reported by: apollos_98@yahoo.com Assigned to: thomas@fesch.at
Priority: normal Milestone:
Component: script.aculo.us Version:
Severity: normal Keywords:
Cc:

Description

On some machines I've tested on, having a lot of droppables makes dragging really, really jerky and slow. I added an option (quiet) to draggables that, if true, will only activate droppables on drag -end- (rather than on updateDrag). It helped performance considerably for my application.

It might be nice for everyone to be able to turn off activation notification for a draggable if they're not going to need it (since it cuts waaay down on all the Position.within calls, which can slow things down).

Attachments

dragdrop.js.diff (2.0 kB) - added by apollos_98@yahoo.com on 01/22/06 17:21:15.
quiet draggables patch (against release 1.5.1)

Change History

01/20/06 21:40:01 changed by madrobby

Any patch for this? Seems like a nice addition. :)

01/22/06 17:21:15 changed by apollos_98@yahoo.com

  • attachment dragdrop.js.diff added.

quiet draggables patch (against release 1.5.1)

01/22/06 17:23:03 changed by apollos_98@yahoo.com

Patch against the latest release is attached. :)