Advertise keyboard shortcut for search in text box
See original GitHub issueDescription
Add a /
to right hand side of search text input element.
Screenshots / Mockups
I got the idea from Stripe docs who style this nicely IMO https://stripe.com/docs/stripe-cli/webhooks
Issue Analytics
- State:
- Created 2 years ago
- Reactions:1
- Comments:8 (4 by maintainers)
Top Results From Across the Web
Keyboard shortcuts for working with shapes, text boxes, and ...
PowerPoint ; Add another object to the selection. Shift+Spacebar ; Cancel selection of a focused item. Shift+Enter ; Move a selected item forward....
Read more >Keyboard Shortcut for Navigating to a Text Field in Google ...
5 Answers 5 · Hit Ctrl + F to open the "Find" box. · Type what you want to find. · Hit Enter...
Read more >Assign Keyboard Shortcut To Draw A Text Box - YouTube
In this demo, we will learn how to assign keyboard shortcut to draw a text box in MS Word 2013.
Read more >The 33 Most Useful Keyboard Shortcuts for Google Chrome
Mac: Hold Shift and click the link. Windows PC & Linux: Hold Ctrl and Shift, then click the link. Useful Keyboard Shortcuts for...
Read more >NVDA Keyboard Shortcuts - Deque University
Browse Mode: Browse mode is used when reading documents or web pages. Focus Mode: Focus mode is used when the user enters a...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@weitzman Jep, that’s the one. I’d favor a modal listing all keyboard shortcuts, because it would include all, and not only the search shortcut, but up to now, I haven’t found a good way of how to integrate this with user-level custom keyboard shortcuts which some people use, as those wouldn’t show up in the modal, as described in https://github.com/squidfunk/mkdocs-material/issues/798#issuecomment-599211072. Also, other users like @Stanzilla might favor another canonical key to be displayed as the keyboard shortcut, e.g.
s
off
, which both work.Other than that, what you’re aiming for is trivial with some extra CSS, i.e. you could add an
::after
pseudo on the input which contains the slash, for example like this:This will only display the element when the search is not active. You can easily adjust the style to your taste. As this is trivial to add with some extra CSS, I’m closing it.
And now it works on mine. Sorry for the noise.