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

The second call on the same page doesn't work #16

Open
aisin opened this issue Jun 14, 2017 · 3 comments
Open

The second call on the same page doesn't work #16

aisin opened this issue Jun 14, 2017 · 3 comments

Comments

@aisin
Copy link

aisin commented Jun 14, 2017

I called the component two times on the same page, the first one was working well, but the second one did not work. And there was no error messages.

Is this component limited to the times of used on the same page?

@aisin aisin changed the title The second call on the same page doesn't seem to work The second call on the same page doesn't work Jun 14, 2017
@karambafe
Copy link

@aisin
Use different ref, my working example:

<vue-scrollbar  ref="ScrollbarPopular">
...
</vue-scrollbar>

<vue-scrollbar  ref="ScrollbarNew">
...
</vue-scrollbar>

@aisin
Copy link
Author

aisin commented Jun 15, 2017

@karambafe I‘ve tried, but not work.

@BosNaufal
Copy link
Owner

Hi @aisin,
Thanks for giving me an issue. but is should be worked since it has a different scope when you have a different name of ref. I need some reproduce, you can make it in webpackbin or just make a simple repo.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants