YAFLogo

johnk
  • johnk
  • 74.8% (Friendly)
  • YAF All-the-Time Topic Starter
12 years ago
When user hovers over someones name, the browsers shows a "hover" popup. Can we add a Close button on right side of this popup; so that user can immediately close this pop up (manually) if they want.

Also sometimes the hover pop up shows up by itself. So a close button would be very helpful. Thank you.

Sponsor
johnk
  • johnk
  • 74.8% (Friendly)
  • YAF All-the-Time Topic Starter
11 years ago
Hi the_watcha, thanks for fixing this bug. Hovercard can be closed manually by pressing Escape key.

However most (or all) users would not be aware that if hover card pops up, they would have to goto the keyboard and press the Escape key to close it.

Is it possible to add a simple "X" on the bottom right side of hovercard?

The code could be very simple:

X

This way when user sees the "X" sign on bottom right of hover card, they can visually see how to close it and can immediately click it to close the hover card, instead of going to keyboard and pressing Escape key.

Thank you for all your help 🙂

tha_watcha
  • tha_watcha
  • 100% (Exalted)
  • YAF.NET Project Lead 🤴 YAF Version: 4.0.1 BETA
11 years ago
I added a close button, but I'm still not really sure if this is really needed, if you hover outside the box it will disappear.
johnk
  • johnk
  • 74.8% (Friendly)
  • YAF All-the-Time Topic Starter
11 years ago
Please see below.
johnk
  • johnk
  • 74.8% (Friendly)
  • YAF All-the-Time Topic Starter
11 years ago
Hi the_watcha, it would be helpful in following scenarios:

1. I have noticed few times the hovercard does not close on "mouseout". So manually clicking on "X" would help with that issue.

2. If a new user (unintentionally) opens a hovercard, they might not know how to close it (move mouse out, press escape key, etc). Having a visual icon to close the pop up would be very helpful.