appbaseio / reactivesearch

Search UI components for React and Vue
https://opensource.appbase.io/reactivesearch
Apache License 2.0
4.89k stars 470 forks source link

Export to CSV not working for infinite scrolling #2057

Closed neelshahxooa closed 1 year ago

neelshahxooa commented 1 year ago

Library Version: 3.38.3

Describe the bug On Infinite scrolling I have enabled export option, on clicking export to csv button it is throwing error.

To Reproduce enable pagination, export and click export csv, check this sandbox for reference https://codesandbox.io/s/reactivesearch-quickstart-final-app-forked-ji3bz6?file=/src/App.js

Also if you don't use enableAppbase and click export, it throws error

mohdashraf010897 commented 1 year ago

@neelshahxooa Thanks for raising the issue. 🙌

We will get back to you with a fix asap. 🔧

siddharthlatest commented 1 year ago

@neelshahxooa enableAppbase={true} is necessary for exporting to work, as exporting is based on the ReactiveSearch API.