Skip to content

Slot spinner not hide #22

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

Closed
mits87 opened this issue Oct 28, 2016 · 2 comments
Closed

Slot spinner not hide #22

mits87 opened this issue Oct 28, 2016 · 2 comments

Comments

@mits87
Copy link

mits87 commented Oct 28, 2016

Hi,

I use Vue-infinite-loading v.2.0.0-rc.1 and I have problem.
When I add new slot:

<span slot="spinner">
  <b>Loading...</b>
</span>

and conditions will be true:

if (this.items.length === total) {
   this.$refs.infiniteLoading.$emit('$InfiniteLoading:complete');
}

then my loader won't hide.
But when I don't use my own slot spinner then all works fine.
Could you fix it?

Best Regards
Peter

@PeachScript
Copy link
Owner

Thanks for your report! In fact, this problem also exists in v1.x and it existed a long time...

I've fixed it in the latest next version v2.0.0-rc.2, please upgrade your version and try it :D

@mits87
Copy link
Author

mits87 commented Oct 28, 2016

Thanks, works perfect!

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

2 participants