blurymind / YarnClassic

A tool for writing interactive dialogue in games!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Clearing search field snaps back to origin

Firemaw opened this issue · comments

  1. Search for a node Title or Body that is far from origin, e.g. a page or two away
  2. Center view on that node
  3. Clear the search bar

On clearing the search bar, the view snaps back to the origin rather than staying where it was (preferred). Leaving the user to have to scroll back to where they were working.

do you clear it by hitting backspace several times? The search updates on input

Yes, this is the only way available to clear it (Win10)

in that case a proper fix would be to add a clear button inside the search when there is text in it.
Hitting backspace updating the search is expected behavior

Out of curiosity, what is the point of clearing the search? It seems like a non-problem problem.

Because it locks out all boxes from being edited other than those that contain the search term

ah I see,in this case clearing it without centering the view does make sense