vue-infinite-loading icon indicating copy to clipboard operation
vue-infinite-loading copied to clipboard

fix: Safari scrollTop

Open malinbranduse opened this issue 5 years ago • 2 comments

direction="top" on Safari was not preserving scroll after prepending new items because scrollTop is always 0 on the body in Safari. Tracked it down to this small little tweak. Tested on Chrome and Safari.

malinbranduse avatar Apr 25 '19 22:04 malinbranduse

Codecov Report

Merging #243 into master will not change coverage. The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff            @@
##            master      #243   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            5         5           
  Lines          174       174           
  Branches        32        32           
=========================================
  Hits           174       174           
Impacted Files Coverage Δ
src/utils.js 100.00% <100.00%> (ø)

Continue to review full report at Codecov.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update ccf1a20...2697b15. Read the comment docs.

codecov[bot] avatar Apr 25 '19 22:04 codecov[bot]

It works for me #256, but is document.scrollingElement

re757575 avatar Jun 28 '19 03:06 re757575