Skip to content

Conversation

@alexanderweiss
Copy link
Contributor

Added a scrollelement prop to allow picking any parent element to scroll with instead of just body. As suggested in #80 (comment). In addition, pagemode's handling of offset has been changed to properly support situations where the virtual-scroll-list is not at the top of the body but offset from it.

Note that the scrollelement prop doesn't support window/body, for which pagemode should still be used. When pagemode is set to true, scrollelement is ignored.

@codecov-io
Copy link

Codecov Report

Merging #114 into master will decrease coverage by 2.64%.
The diff coverage is 73.91%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #114      +/-   ##
==========================================
- Coverage   96.98%   94.33%   -2.65%     
==========================================
  Files           1        1              
  Lines         199      212      +13     
==========================================
+ Hits          193      200       +7     
- Misses          6       12       +6
Impacted Files Coverage Δ
src/index.js 94.33% <73.91%> (-2.65%) ⬇️

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 e024655...6b74e1f. Read the comment docs.

@tangbc tangbc merged commit fb12d46 into tangbc:master Jul 4, 2019
tangbc added a commit that referenced this pull request Jul 4, 2019
@tangbc
Copy link
Owner

tangbc commented Jul 4, 2019

Merged and published in v1.4.0

@alexanderweiss
Copy link
Contributor Author

Thanks!

@ChadMcCaulley ChadMcCaulley mentioned this pull request Apr 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants