tvolk131 / fdr-finder

0 stars 0 forks source link

Collapse all search results when switching pages #24

Closed tvolk131 closed 3 years ago

tvolk131 commented 3 years ago

For search results with multiple pages, if you expand one of the results and then move to the next/previous page, the result in that same place will remain expanded since React is recycling the underlying DOM element. Let's make sure to explicitly collapse all results when transitioning between pages.

tvolk131 commented 3 years ago

No longer relevant after https://github.com/tvolk131/fdr-finder/commit/f39612daf40038e401ee5b863eedab26c7b9bbae since we only show one page of results.