@alexander, I think that’s the cleanest experience for users. If it were to reset search/scroll while the persistent element panel is open, it would feel jarring. But clearing while it’s closed “feels” right.
Looking at the X styling you guys use in the various search fields, I see why having two of them next to each other looked weird. I had it in my head that it would be an (x) contained in a circle like you commonly see in other search fields. For example, in the search on iOS:
I’ve accidentally closed the element panel a number of times because I’m used to clearing searches with the (x) button at the end of the search field. So, I wonder if you’ll be getting feedback about that when more users start getting their hands on this build. Good to know about esc though.
@Misho, given the changes Alexander’s going to make, it seems like both our ways of working will be addressed. So, I don’t know that my answer will be terribly useful to you, but I figured I’d address your question anyway, just so you understand where I’m coming from…
There are a variety of use cases where I run into frustrations with the behavior of the current elements “tab” in the release version of Pro (where it resets the search & scroll position every time).
The first, is that I typically set up a variety of presets for things like buttons, headlines, etc., and use a particular naming scheme (e.g. “V3 - H1”, “V3 - Button - Transparent” etc.). So, when I build a new page, I’ll need several different elements (a headline, a couple buttons, different text elements, etc.). So, I just type a partial search for “V3” and all those elements get pulled to the top. So, if I’m adding several elements in a row, it’s convenient for me to have the element panel remember the search.
Other times, when I’m just exploring the elements, I’ll scroll down the list and want to try out a few different elements in a layout. In this case, having the scroll position reset every time I drag an element is incredibly frustrating because I have to figure out how far down I scrolled again each time.
These are just a couple examples of how I use Pro, and how the auto-reseting behavior creates friction as I build. So, for me personally, I prefer the behavior where the element panel stays on the screen, and remembers my search/scroll position until I explicitly close it.
So, I think the solution Alexander’s going with solves both our problems. So I’m personally happy.