Changes between Version 3 and Version 4 of Ticket #9315, comment 24


Ignore:
Timestamp:
Aug 30, 2013, 4:36:07 AM (7 years ago)
Author:
Thomas Khyn
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #9315, comment 24

    v3 v4  
    1212
    1313in the implementations of _convertPositionTo and _generatePosition in jquery.ui.draggable.js.
    14 The execution is even probably if the condition is removed so that {{{ this.offset.scroll = {top : scroll.scrollTop(), left : scroll.scrollLeft()}; }}} is always executed.
     14The execution is probably even faster if the condition is removed so that {{{ this.offset.scroll = {top : scroll.scrollTop(), left : scroll.scrollLeft()}; }}} is always executed.
    1515
    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.left as it is in version 1.10.3.
     16Indeed, 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.