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

Ticket #3507 (new defect)

Opened 2 years ago

Last modified 4 months ago

Scrollable element in sortable list

Reported by: pixelsoul7@hotmail.com Assigned to: sam@conio.net
Priority: high Milestone: 2.x
Component: script.aculo.us Version: edge
Severity: normal Keywords: sortable scroll
Cc:

Description

When i have an element set to scroll auto, when i hover the scroll bar i can't scroll instead it moves the entire content so it can be dragged...

The mouse cursor does move and mouse scroll wheel does work, but the scroll bar not

Change History

02/12/06 05:47:56 changed by matrix9180@gmail.com

  • owner changed from David to sam.
  • component changed from ActiveRecord to Prototype.

Not sure if this is prototype or script.aculo.us, but it's definitely not ActiveRecord...

04/04/06 14:02:34 changed by anonymous

  • component changed from Prototype to script.aculo.us.

08/18/06 23:57:07 changed by tomg@byu.net

  • keywords set to dragdrop.

Any particular browser, or all browsers?

Do you have a code example?

11/29/07 22:21:33 changed by wojteb

On all browsers. On 2-nd comp I hvahe path. If U change sortable list U must recalc offset in Dragable.

In options for dragable add:

var options_for_draggable = {

revert: true, onDrag: function(obj, event){

if(obj.element.parentNode.id == obj.oldParentNode)

return;

obj.offset = ... (from Draggable.onInit)

}

12/03/07 16:16:08 changed by wojteb

  • keywords changed from dragdrop to sortable scroll.
  • version changed from 1.0.0 to edge.

03/01/08 00:01:26 changed by ramix

i solved this bug, and explaind the solution on my blog, it simple solution you need to add only one line to one file: http://byramix.blogspot.com/ or directly http://byramix.blogspot.com/2008/03/scriptaculous-drag-and-sort-scrolling.html