UV version:
I'm submitting a:
Current behavior:
When I am viewing a single page item, I can search for a term but I cannot click on the Previous Result or Next Result buttons.
Expected behavior:
I expect to be able to search for a term and then to click on the Previous Result and Next Result to navigate between the search results.
Steps to reproduce:
You can see the effect of searching on a single page item here: https://codesandbox.io/s/single-page-does-not-support-navigating-search-results-yqltjh?file=/index.html:652-865
- Search for e.g. rabbit in the "Search within this item" field (you may need to make the preview frame wider to see the search input on codesandbox)
- See search results in the page above
- Unable to click previous result or next result buttons
It seems that the problem does not appear when there are multiple pages for an item. See here, where I've included two pages: https://codesandbox.io/s/multi-page-does-support-navigating-search-results-978dgh?file=/index.html:334-340
Related code:
// insert any relevant code here
Other information:
UV version:
I'm submitting a:
Current behavior:
When I am viewing a single page item, I can search for a term but I cannot click on the Previous Result or Next Result buttons.
Expected behavior:
I expect to be able to search for a term and then to click on the Previous Result and Next Result to navigate between the search results.
Steps to reproduce:
You can see the effect of searching on a single page item here: https://codesandbox.io/s/single-page-does-not-support-navigating-search-results-yqltjh?file=/index.html:652-865
It seems that the problem does not appear when there are multiple pages for an item. See here, where I've included two pages: https://codesandbox.io/s/multi-page-does-support-navigating-search-results-978dgh?file=/index.html:334-340
Related code:
Other information: