internetarchive / internetarchive/bookreader

Search panel does not open when a search in URL if tab not in focus

Open
#1,166 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
JavaScript
Stars
1.2k
Forks
491
Avg merge
2d 15h
Merged PRs (30d)
3

Description

To Reproduce:

1. Go to https://archive.org/details/sim_partisan-review_summer-1957_24_3/page/327/mode/1up?admin=1&q=%22SONNY%27S+BLUES%22
2. Switch tabs before the results loads
3. Wait for a little while
4. Go to the tab

Expected: The search panel is open when you go back to the tab
Actual: The search panel does not open

**Context**

![image](https://user-images.githubusercontent.com/6251786/226678477-93b5c1df-13f9-4fa7-bf82-c0b346a69620.png)

^ This sidebar is not open

**Proposal & Constraints**

> What is the proposed solution / implementation? Is there a precedent of this approach succeeding elsewhere?

**Stakeholders**

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.