Tooltips need a delay, and then they need to skip it
blog.master.dev
Tooltips need a delay, and then they need to skip it
1–10 of 92 posts
Re: Tooltips need a delay, and then they need to skip it
#2(These days I would have included more comments.)
Naturally, there was a fallback to pure CSS menus, because we weren't barbarians.
Re: Tooltips need a delay, and then they need to skip it
#3Re: Tooltips need a delay, and then they need to skip it
#4Re: Tooltips need a delay, and then they need to skip it
#5Re: Tooltips need a delay, and then they need to skip it
#6I greatly appreciate this attention to detail, and there isn't enough of this in the world. For example, in Visual Studio popups on hover happen so fast you can barely select anything, or you end up clicking on the popup instead of selecting a word.
Re: Tooltips need a delay, and then they need to skip it
#7I greatly appreciate this attention to detail, and there isn't enough of this in the world. For example, in Visual Studio popups on hover happen so fast you can barely select anything, or you end up clicking on the popup instead of selecting a word.
Re: Tooltips need a delay, and then they need to skip it
#8Re: Tooltips need a delay, and then they need to skip it
#9I think I would describe this as an example of hysteresis. Neat! https://en.wikipedia.org/wiki/Hysteresis
I think there was also an article about it on The Old New Thing, but I can't seem to find it anymore.
Re: Tooltips need a delay, and then they need to skip it
#10I ran into the same problem about 20 years ago when implementing hover-based dropdown menus on a website. It was only about 10 lines of JS and a couple global variables but I was the only person who understood it. :-P (These days I would have included more comments.) Naturally, there was a fallback to pure CSS menus, because we weren't barbarians.