|
Replies:
7
-
Pages:
1
-
Last Post:
7 Aug 24, 18:13
Last Post By: Laza
|
|
|
Posts:
196
Registered:
18-Jun-2010
|
|
|
|
"Copy Link" popup disappears too quickly
Posted:
31 Jul 24, 22:10
|
|
|
|
|
|
When you click the shares button and hover the "Copy Link" button, a popup appears to copy the album URL, see the attached screenshot. However, this popup disappears by itself after 2-3 seconds, regardless of where the mouse pointer is (above the "Copy Link" button, above the popup, or elsewhere).
This delay is short, very very short. Is there a way to keep this popup open longer (ideally until you click "Copy" or the mouse pointer leaves the popup)?
I have seen this behavior with Firefox and Chrome (so this probably not related to the browser), and on Windows and Android.
|
|
|
Posts:
1,531
Registered:
6-Sep-2005
|
|
|
|
Re: "Copy Link" popup disappears too quickly
Posted:
6 Aug 24, 08:50
in response to: phil44
|
|
|
|
The popup shows as long as the mouse is over the popup. On touch-driven devices, there's no mouse leave event, so the popup needs to be closed automatically. Now it's 3 secs, but I can make it somewhat longer. I made it 4 seconds for the next version, but making the delay longer can be irritating.
|
|
|
Posts:
196
Registered:
18-Jun-2010
|
|
|
|
Re: "Copy Link" popup disappears too quickly
Posted:
6 Aug 24, 09:37
in response to: Laza
|
|
|
The popup shows as long as the mouse is over the popup.
This does not work on my side. Even if the mouse is over the popup, this one disappears after 3 seconds without moving the mouse. The popup remains visible as long as the mouse moves...
On touch-driven devices, there's no mouse leave event, so the popup needs to be closed automatically. Now it's 3 secs, but I can make it somewhat longer. I made it 4 seconds for the next version, but making the delay longer can be irritating.
|
|
|
Posts:
1,531
Registered:
6-Sep-2005
|
|
|
|
Re: "Copy Link" popup disappears too quickly
Posted:
6 Aug 24, 10:54
in response to: phil44
|
|
|
|
It can happen there are different types of mice. For example, a touchpad mouse might emulate a real mouse but trigger different mouse leave events. The JS function listens to the mouseenter and mouseleave events and does not monitor mousemove events.
|
|
|
Posts:
196
Registered:
18-Jun-2010
|
|
|
|
Re: "Copy Link" popup disappears too quickly
Posted:
6 Aug 24, 17:07
in response to: Laza
|
|
|
|
|
...The JS function listens to the mouseenter and mouseleave events and does not monitor mousemove events.
Technically speaking, this seems not to be the case. I think this is hideAllTooltips which hides the popup, see the attached stack trace. I got this on the album page when all thumbnails are displayed, no lightbox opened...
|
|
|
Posts:
196
Registered:
18-Jun-2010
|
|
|
|
Re: "Copy Link" popup disappears too quickly
Posted:
7 Aug 24, 17:28
in response to: Laza
|
|
|
...
Try the attached JS files - hopefully, this works better.
This solves the problem I had seen. The popup remains visible as long as the mouse cursor is over it and I don't see any impact on a mobile, great!
I just have to wait for the publication of the next version, thanks 
|
|
|
Posts:
1,531
Registered:
6-Sep-2005
|
|
|
|
Re: "Copy Link" popup disappears too quickly
Posted:
7 Aug 24, 18:13
in response to: phil44
|
|
|
|
You don't have to wait - it's usable as is. I've just removed a single line.
|
|
|
|
Legend
|
|
Forum admins
|
|
Helpful Answer
|
|
Correct Answer
|
|