Opened 15 years ago
Closed 14 years ago
#1236 closed enhancement (fixed)
"Sticky" tooltips
Reported by: | jng | Owned by: | liuar |
---|---|---|---|
Priority: | low | Milestone: | |
Component: | AJAX Viewer | Version: | |
Severity: | major | Keywords: | |
Cc: | External ID: |
Description (last modified by )
Currently tooltips will always follow the mouse pointer, as a result if there is any interactive content inside the tooltip, it is impossible to actually interact with the said content using the mouse.
What the tooltip should ideally do is to stay at the position it was first displayed, and only disappear when the mouse pointer leaves the tooltip's bounding box. This is how it's done in Fusion and allows for clicking of any interactive content inside the tooltip.
Attachments (3)
Change History (13)
comment:1 by , 15 years ago
Version: | 2.2.0 |
---|
comment:2 by , 15 years ago
Description: | modified (diff) |
---|---|
Summary: | Allow the tooltip to stay at the same position instead of following the mouse pointer. → "Sticky" tooltips |
comment:3 by , 14 years ago
Owner: | set to |
---|
comment:6 by , 14 years ago
Hi jng,
the code looks good, but the result in my machine seems wrong.
please see the attached image.
Arthur
by , 14 years ago
Attachment: | tooltip.png added |
---|
comment:7 by , 14 years ago
Yes I see the problem too.
But the thing is I revert the ajaxmappane.templ back to the original current version in 2.2/trunk and I still get the same incorrect tooltip!
comment:8 by , 14 years ago
Okay, I've found the problem. The Districts layer of the Sheboygan dataset has the wrong label expression. It is using the expression:
concat('District ', Autogenerated_SDF_ID)
The Autogenerated_SDF_ID does not line up with the label, hence the disparate tooltips.
comment:9 by , 14 years ago
Yes, That's dataset's problem. I will submit the code on behalf of you. Thank you for this enhancement.
Arthur
Removing version from enhancement request