heroicons.dev icon indicating copy to clipboard operation
heroicons.dev copied to clipboard

Difficulty returning to homepage after search.

Open unitythemaker opened this issue 1 year ago • 2 comments

Hi there!

I've been a fan of HeroIcons for a while now, and I just wanted to say thanks for creating such a fantastic resource! I noticed a small issue with the website that I thought I'd mention. When I use the search function and then try to return to the homepage using my browser's "Go back one page" button, I can't do it. I have to manually delete the search query, which is a bit of a hassle. It's not a big deal, but I thought I'd bring it up in case it's an easy fix. Thanks again for all your hard work!

unitythemaker avatar Apr 27 '23 20:04 unitythemaker

I didn't read the code but one fix could be: When the user stops writing for like 3 seconds, add a history item.

unitythemaker avatar Apr 27 '23 20:04 unitythemaker

Thanks for the idea. That's a great idea. I’ll implement something like this once I have some downtime. Keeping this open as a reminder.

zaydek avatar Apr 29 '23 06:04 zaydek