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

Infinite scroll delay after resume #2187

Closed
jean-moldovan opened this issue Jun 19, 2018 · 0 comments
Closed

Infinite scroll delay after resume #2187

jean-moldovan opened this issue Jun 19, 2018 · 0 comments
Milestone

Comments

@jean-moldovan
Copy link

Hello!

This is based on: #1990.

In a scenario when you apply a filter to a list of items you would want refresh the list completely by:

          this.$refs.infiniteScroll.reset()
          this.$refs.infiniteScroll.resume()

However, the first poll after resume has 50ms which results in flickering and makes loading state hard to manage.

Example: https://jsfiddle.net/waugrryy/3352/

  1. Toggle filter
  2. 'No items Available' label is shown for 50ms, bad flickering
  3. Spinner is shown

Expected:

  1. Toggle filter
  2. Spinner is shown right away

Thanks!

@rstoenescu rstoenescu added this to the v0.16.1 milestone Jun 19, 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

No branches or pull requests

2 participants