Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cannot read property 'children' of undefined #48

Open
umervservices opened this issue Jul 31, 2019 · 3 comments
Open

Cannot read property 'children' of undefined #48

umervservices opened this issue Jul 31, 2019 · 3 comments

Comments

@umervservices
Copy link

I have used cards list inside scroll when clicked on router-link the following error occurred

error

The error reason is in line 857 in dist

scrollAreaHeight: $scrollArea.children[0].clientHeight,
scrollAreaWidth: $scrollArea.children[0].clientWidth,

@dolbex
Copy link

dolbex commented Aug 16, 2019

Same issue here.

dolbex added a commit to dolbex/vue2-scrollbar that referenced this issue Aug 16, 2019
Preventing the issues happening here:

BosNaufal#48

Sometimes there is no children which causes undefined issues.
@afloury
Copy link

afloury commented Oct 15, 2019

Hello, I think I get the same kind of problem here :
image
With clientHeight
image
I'm using latest version "vue2-scrollbar": "0.0.3"

@pavel-muset
Copy link

Confirm, the issue persist on version 0.0.3

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

No branches or pull requests

4 participants