Automattic / jetpack

Security, performance, marketing, and design tools — Jetpack is made by WordPress experts to make WP sites safer and faster, and help you grow your traffic.
https://jetpack.com/
Other
1.58k stars 799 forks source link

Instant Search: faster mobile search refinements #14783

Open gibrown opened 4 years ago

gibrown commented 4 years ago

There are a number of cases where I think we should auto scroll the page for the user to make it faster/easier to see the top search result and refine the search query:

keoshi commented 4 years ago

Once the user starts scrolling up a little bit, let's show the search box and the filtering selections

I agree this is useful, but it could be hard to get a perfect implementation of this. I haven't seen a really good one that isn't native — the ones I've seen on the web all have some sort of disadvantage or compromise. Plus, on mobile devices you can touch the top of the browser and it scrolls up automatically, so I don't think we absolutely need this feature.

As for the other two, I completely agree. We should try to have a smooth scroll so it's not too jarring.