#3254 closed defect (fixed)
dojo.dnd._getOffset() handles border incorrectly
Reported by: | bill | Owned by: | Eugene Lazutkin |
---|---|---|---|
Priority: | high | Milestone: | 0.9beta |
Component: | DnD | Version: | 0.9 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
dojo.dnd._getOffset() handles the border incorrectly, causing exception on IE in drag move (tested with Dialog code). Also, it's inefficient, as getComputedStyle() is called over and over again.
Change History (2)
comment:1 Changed 13 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:2 Changed 13 years ago by
Actually I eliminated it completely in the new code (not checked in yet) --- this function was a quick fix.
Note: See
TracTickets for help on using
tickets.
(In [8903]) Refactor dojo.dnd._getOffset(), fixing problem with border calculation and making code more efficient (since getComputedValue() is only called once). Fixes #3254.
Still seeing a jump on drag move start (bug #3255), but that was happening before this code change.