focus wrong for unchanged search after mousing over search results #79962
Labels
A-rustdoc-ui
Area: Rustdoc UI (generated HTML)
T-rustdoc
Relevant to the rustdoc team, which will review and decide on the PR/issue.
This one is a relatively minor bug, since it only happens if you try to search for the same thing you are looking at, which is not a very natural thing to do. But I thought I would report it anyway.
Steps to reproduce
assert
(as an example search term) and hit Returnfile://
url, click anywhere outside the help popup to dismiss itExpected results
The same search is performed again, so the page reloads with little change.
Actual results
Whatever search result you last moused over, which has the highlight shown, is visited.
@rustdoc modify labels +T-rustdoc -A-rustdoc-ui
The text was updated successfully, but these errors were encountered: