Changes between Version 3 and Version 4 of Ticket #9315, comment 24
- Timestamp:
- Aug 30, 2013, 4:36:07 AM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #9315, comment 24
v3 v4 12 12 13 13 in the implementations of _convertPositionTo and _generatePosition in jquery.ui.draggable.js. 14 The execution is even probablyif the condition is removed so that {{{ this.offset.scroll = {top : scroll.scrollTop(), left : scroll.scrollLeft()}; }}} is always executed.14 The execution is probably even faster if the condition is removed so that {{{ this.offset.scroll = {top : scroll.scrollTop(), left : scroll.scrollLeft()}; }}} is always executed. 15 15 16 Indeed, this.offset.scroll is never updated when the scroll changes (it is only set once when dragging starts and this.offset.scroll is false). In version 1.10.2, the returned values are calculated using scroll.scrollTop() and scroll.scrollLeft() instead of this.offset.scroll.top and this.offset.scroll.leftas it is in version 1.10.3.16 Indeed, this.offset.scroll is never updated when the page/container is scrolled (it is only set once when dragging starts and this.offset.scroll is false). In version 1.10.2, the returned values are calculated using scroll.scrollTop() and scroll.scrollLeft() in the return statement instead of using the (fixed) values from this.offset.scroll as it is in version 1.10.3.