obsidian-remember-file-state icon indicating copy to clipboard operation
obsidian-remember-file-state copied to clipboard

Clicked search results open the page at the remembered position not the result's text position

Open redactedscribe opened this issue 2 years ago • 1 comments

When you click a search result, the page will open at the remembered position of the file. You have to click the search result a second time for the page to scroll up to the position of the search result's text.

If a search result is clicked, the file should open and go straight to the result's position in the file, skipping over the logic to restore the remembered position.

Thanks.

redactedscribe avatar Nov 04 '23 21:11 redactedscribe

Indeed... I'm not sure how to detect this, though. I have a workaround that sort of works in most cases, but not all cases. I'll take suggestions if anybody has a good idea.

ludovicchabant avatar Nov 21 '23 06:11 ludovicchabant