docfx icon indicating copy to clipboard operation
docfx copied to clipboard

Clicking search results should bring the user directly to the relevant fragment

Open lidermanrony opened this issue 9 years ago • 2 comments

Current behavior is - when clicking on search result (site search, not the toc filter search) we're getting the top of the page, even if it's a very long page and the result is at the end of the page. In this case we have to either use ctrl+f to search inside the page, or scroll down and look for the highlighted text.

A better alternative would be that search results granularity will be in the html fragment level, so if i'm searching for the word "foo" and it exists inside a markdown header called "baz" in a page called "bar" i'll be directed straight to http://www.example.com/bar.html#baz

lidermanrony avatar Mar 21 '16 09:03 lidermanrony

+1

saguiitay avatar Mar 22 '16 16:03 saguiitay

Hey, is there any plan to address this issue?

lidermanrony avatar Mar 30 '16 08:03 lidermanrony