Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(Bug report) search highlights not performing correct scroll-to-term effect #4690

Open
diyoyo opened this issue Mar 14, 2024 · 1 comment
Open

Comments

@diyoyo
Copy link
Sponsor

diyoyo commented Mar 14, 2024

Trilium Version

0.63.3

What operating system are you using?

macOS

What is your setup?

Local + server sync

Operating System Version

latest

Description

When searching for a word in the main search bar (on the left panel), and then clicking on a result:

  • the page opens
  • the page is not scrolled to the first occurrence of the word.

I have a hypothesis that I haven't tested yet:

  • I think this occurs primarily when the page that is being opened has reached the editable-word-limit thingy: ie, it opens in read-only mode, not in edit mode.

Whether the hypothesis is true or false doesn't matter, the behavior is not the expected one, in my humble opinion.
I see myself having to search first on the left panel, then close the search bar that opened at the bottom, trigger it again using Cmd+F, then search again the word within the page to force the scrollbar to focus on the highlighted terms.

This is something I frequently use and I assume i'm not the only one, so I'd say it's a critical issue.

Error logs

not relevant.

@zadam
Copy link
Owner

zadam commented Mar 27, 2024

I think this occurs primarily when the page that is being opened has reached the editable-word-limit thingy: ie, it opens in read-only mode, not in edit mode.

No, this just isn't supported / implemented at all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants