You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We're trying to add a custom search element to mdbook docs, and the default search logic keeps stealing the s key when we try to type it into the search box of our alternate search.
Problem
We're trying to add a custom search element to mdbook docs, and the default search logic keeps stealing the
s
key when we try to type it into the search box of our alternate search.Steps
/
to bring up our custom searchs
in it.Possible Solution(s)
The mdbook search logic should not fire when there is an input element that has focus.
It seems like https://github.com/rust-lang/mdBook/blob/master/src/theme/searcher/searcher.js#L319 should be checking for input types as well as textarea types?
Notes
No response
Version
The text was updated successfully, but these errors were encountered: