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: set a timeout for URL rewriting #14180

Open keoshi opened 4 years ago

keoshi commented 4 years ago

Steps to reproduce the issue

What I expected

Press back to go to the previous page.

What happened instead

Every character entered in the search box triggered a URL rewrite, making the process of going back in history in the browser tedious.

Could we set a reasonable timeout so that the URL rewriting only happens if a customer hasn't entered any characters in the last X ms? If so, what would be a good value for this?

Screen capture

jps-urls

stale[bot] commented 4 years ago

This issue has been marked as stale. This happened because:

No further action is needed. But it's worth checking if this ticket has clear reproduction steps and it is still reproducible. Feel free to close this issue if you think it's not valid anymore — if you do, please add a brief explanation.