AA-Turner
(Adam Turner)
October 22, 2022, 12:22am
21
C.A.M. Gerlach:
I was going to, yeah, but wanted to get @AA-Turner 's input from an upstream Sphinx perspective before pursuing the otherwise-preferred third alternative (presumably using vanilla JS rather than jQuery).
The pragmatic thing seems to be select visible fields. Perhaps we should move this to issues on Sphinx and p-d-t for further discussion?
A
bjkeefe
(bjkeefe)
October 24, 2022, 7:07pm
22
Doesn’t work in Firefox 106.0.1 on Win10.
bjkeefe
(bjkeefe)
October 24, 2022, 7:11pm
23
I have no idea why I never thought of the “Add a keyword for this search” option, since I have already done this for several other sites (“wiki”, “wikt”, for example). Thanks so much for the reminder: just added “py” and it works just fine.
b11c
(Berislav Lopac)
October 27, 2022, 9:21pm
24
I have to use mouse to change keyboard focus
Or you can use the tab key (albeit several times) to reach the field.
pradyunsg
(Pradyun Gedam)
November 4, 2022, 2:36am
25
Here’s the tracking issue for the / on narrow width in Furo, which is the first step in getting this fixed in the devguide.
opened 02:45AM - 03 Sep 22 UTC
enhancement
### What's happening?
If you go to a website using this theme (ex: [manual.zryt… hm.org](https://manual.zrythm.org/)) and reduce the horizontal size of your window, the sidebar on the left that contains the search bar will collapse. This is fine and expected. From here, the search bar can still be focused by pressing the <kbd>/</kbd> key. This is also fine, but the real problem is that the search bar is remains hidden in the side menu. To solve this, I would suggest expanding the collapsed sidebar with the search bar or adding another search bar that appears at the top of the page when the <kbd>/</kbd> key is pressed.
### Reproducer
1. Go to a website using this theme, like https://manual.zrythm.org
2. Horizontally resize your browser window until the sidebar on the left disappears ("mobile view")
3. Press the <kbd>/</kbd> key to search
4. The search bar is now activated and you can type in it, but it is still in a non-visible area of the webpage.
### Expectation
Instead of invisibly activating (and stealing your keyboard in the process), the search box should appear as a drop-down search box from the top of the page (maybe consider adding a search button in the upper right), or the left panel should expand to reveal the search box.
### Code of Conduct
- [X] I agree to follow the [Code of Conduct](https://github.com/pradyunsg/furo/blob/main/CODE_OF_CONDUCT.md).
1 Like
Kentzo
(Ilya Kulakov)
November 30, 2022, 8:11am
26
I wish I could toggle docs.python.org into a mode where I would get this neat full-width search bar regardless of the actual window size.