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

Ticket #10318 (new defect)

Opened 6 months ago

Ghosing element posistion inside a scrollable element

Reported by: martijnengel Assigned to: madrobby
Priority: high Milestone:
Component: script.aculo.us Version: edge
Severity: major Keywords:
Cc:

Description

When i create sortables inside a scrollable div and i use ghosting and i'am scrolled to the right the position of the element what i'am dragging is placed wrong i was able to fix this by editing dragdrop.js line 462 : pos[0] += r[0] - Position.deltaX; pos[1] += r[1] - Position.deltaY;

and replaced it with: pos[0] += Position.deltaX; pos[1] += Position.deltaY;

Than it works oke