Skip to content

Conversation

andriepu
Copy link
Contributor

I'm trying to use vue2-perfect-scrollbar in vue-virtual-scroll-list. The only problem that happen is the way to get the offset value.

vue2-perfect-scrollbar makes the structure become like this:

screen shot 2018-12-18 at 09 59 14

So, it needs to check whether the $refs.vsl is a Vue component or not to get the correct scrollTop value.

@tangbc
Copy link
Owner

tangbc commented Dec 19, 2018

Can fix eslint(code style)?

@andriepu
Copy link
Contributor Author

@tangbc code style has been fixed, sorry for my slow response.

@tangbc tangbc merged commit 7352b73 into tangbc:master Dec 22, 2018
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.

2 participants