Browse Source

BI-29038 offset要减去scroll

es6
windy 6 years ago
parent
commit
143d4c58ae
  1. 2
      dist/_fineui.min.js
  2. 3
      dist/bundle.js
  3. 6
      dist/bundle.min.js
  4. 3
      dist/core.js
  5. 3
      dist/fineui.js
  6. 2
      dist/fineui.min.js
  7. 3
      src/core/jquery.js

2
dist/_fineui.min.js vendored

File diff suppressed because one or more lines are too long

3
dist/bundle.js vendored

@ -9402,6 +9402,9 @@ jQuery.fn.offset = function( options ) {
offsetLeft += el.offsetLeft; offsetLeft += el.offsetLeft;
offsetTop += el.offsetTop; offsetTop += el.offsetTop;
offsetLeft += el.scrollLeft;
offsetTop += el.scrollTop;
el = el.offsetParent; el = el.offsetParent;
} while( el ); } while( el );
win = getWindow( doc ); win = getWindow( doc );

6
dist/bundle.min.js vendored

File diff suppressed because one or more lines are too long

3
dist/core.js vendored

@ -9402,6 +9402,9 @@ jQuery.fn.offset = function( options ) {
offsetLeft += el.offsetLeft; offsetLeft += el.offsetLeft;
offsetTop += el.offsetTop; offsetTop += el.offsetTop;
offsetLeft += el.scrollLeft;
offsetTop += el.scrollTop;
el = el.offsetParent; el = el.offsetParent;
} while( el ); } while( el );
win = getWindow( doc ); win = getWindow( doc );

3
dist/fineui.js vendored

@ -9623,6 +9623,9 @@ jQuery.fn.offset = function( options ) {
offsetLeft += el.offsetLeft; offsetLeft += el.offsetLeft;
offsetTop += el.offsetTop; offsetTop += el.offsetTop;
offsetLeft += el.scrollLeft;
offsetTop += el.scrollTop;
el = el.offsetParent; el = el.offsetParent;
} while( el ); } while( el );
win = getWindow( doc ); win = getWindow( doc );

2
dist/fineui.min.js vendored

File diff suppressed because one or more lines are too long

3
src/core/jquery.js vendored

@ -9402,6 +9402,9 @@ jQuery.fn.offset = function( options ) {
offsetLeft += el.offsetLeft; offsetLeft += el.offsetLeft;
offsetTop += el.offsetTop; offsetTop += el.offsetTop;
offsetLeft += el.scrollLeft;
offsetTop += el.scrollTop;
el = el.offsetParent; el = el.offsetParent;
} while( el ); } while( el );
win = getWindow( doc ); win = getWindow( doc );

Loading…
Cancel
Save