Steps to reproduce
- Search for the word that’s present in the footnotes.
- Click the related search result item.
Did you follow the troubleshooting guide? [Y/N]
Yes
Expected result
Focusing on footnotes works correctly for the appropriate search result item.
Actual result
When navigating the search result item, the appropriate footnote isn’t scrolled and highlighted correctly in Reading View mode.
NOTE: It works well for the last footnote.
Environment
SYSTEM INFO:
Obsidian version: v1.8.3
Installer version: v1.7.7
Operating system: Darwin Kernel Version 24.2.0: Fri Dec 6 18:41:43 PST 2024; root:xnu-11215.61.5~2/RELEASE_X86_64 24.2.0
Login status: not logged in
Language: en
Insider build toggle: off
Live preview: on
Base theme: adapt to system
Community theme: none
Snippets enabled: 0
Restricted mode: on
RECOMMENDATIONS:
none
Additional information
[Tech details]
The last footnote is properly selected and the appropriate CSS class is added to the right DOM element.
Any other footnote is not properly selected and the appropriate CSS class is added to the wrong DOM element.