The Wayback Machine - https://web.archive.org/web/20201208045258/https://github.com/appbaseio/reactivesearch/issues/1532
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

Reactive List stalls returning the correct data on initial applied filters #1532

Open
aoloo opened this issue Aug 20, 2020 · 3 comments
Open
Labels
bug

Comments

@aoloo
Copy link

@aoloo aoloo commented Aug 20, 2020

Affected Projects
React
Library Version: x.y.z
9.6.15

Describe the bug
When ReactiveList is returning data from applied filters the data results is incorrect. After numerous re render the data and stats count are correct. It appears ReactiveList during re render stalls providing the correct data until the last render hit. Sometimes it does not return the expected data with the filter applied after numerous render.

To Reproduce
Our app has over 50 filters that utilizes reactive list. When filters are applied on the app and the user refreshes the page. Reactive List lags and returns different data on re-render. Reactive List lags returning the correct data result from the applied filter.

Expected behavior
It is expected that when a user refreshes the page with filters applied. The results returns the correct data without any lag or staled data.

Screenshots
Without specified filter applied. Total unfiltered results.
image

When Filter is applied without page reload
image

renderResultStats stats count
image

As you can see the results lags retrieving the correct data.

When refreshing the page with filter appliedimage

The data stalls even more not returning the correct result, until the last render.

Desktop (please complete the following information):
OS: Ubuntu 18
Browser: chrome, firefox
Version: latest

Smartphone (please complete the following information):

  • Device: [e.g. iPhone6]
  • OS: [e.g. iOS8.1]
  • Browser [e.g. stock browser, safari]
  • Version [e.g. 22]
@aoloo aoloo added the bug label Aug 20, 2020
@jyash97
Copy link
Member

@jyash97 jyash97 commented Aug 20, 2020

Hey @aoloo

Thanks for reporting the issue

Can you specify the correct library version?

Also, it would be really great if you can create a repro on Codesandbox. This will help us debug the issue quickly and improve the experience.

@aoloo
Copy link
Author

@aoloo aoloo commented Aug 20, 2020

@jyash97 The version we are using is 3.12.2. I will consult with my team lead on getting a repo set up. At the moment is this enough information for you?

@aoloo
Copy link
Author

@aoloo aoloo commented Aug 21, 2020

@jyash97 Reproducing this will be difficult because it is related to my work code base. I am not sure the best to replicate the exact issue on codesandbox. Please let me know if you have any suggestion or insight on this issue. I greatly appreciate your time.

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

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.