Reactivesearch: Pagination: browser back button issue

Created on 14 Nov 2019  路  3Comments  路  Source: appbaseio/reactivesearch

Affected Projects
React

Library Version: 3.0.3

Describe the bug
When selecting some value in MultiDropdownList and clicking pagination some pages, let's say starting from 1 to 2, 3, 4, 5 and URLParams is active the parameter in the url changes accordingly. But when I click the back button of the browser, it instantly goes all the way back to page 1 and resets MultiDropdownList.

To Reproduce
Steps to reproduce the behavior:
go to https://codesandbox.io/s/reactivelist-pagination-problem-rpeij
Select some value in MultiDropdownList and just click the pagination and then at some point the browser back button.

Expected behavior
Being on page n it should step back to page n-1 (in history stack). e.g. coming from page 4 to 3 the browser back button should target back to page 3.
Furthermore, MultiDropdownList should remain the value it had.

Screenshots
image
image
image
image

Desktop (please complete the following information):

  • OS: Linux
  • Browser Chromium
  • Version Version 78.0.3904.70 (Official Build) Arch Linux (64-bit)
bug wontfix

Most helpful comment

Any update on this?

All 3 comments

Any update on this?

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

I am getting the same error. Can we fix this?

Was this page helpful?
0 / 5 - 0 ratings

Related issues

davidklebanoff picture davidklebanoff  路  4Comments

gabzon picture gabzon  路  4Comments

danielsnider picture danielsnider  路  4Comments

willopez picture willopez  路  3Comments

vharitonsky picture vharitonsky  路  4Comments