Opened 14 years ago
Closed 14 years ago
#1747 closed defect (fixed)
Tooltip fails for long spans
Reported by: | bill | Owned by: | bill |
---|---|---|---|
Priority: | high | Milestone: | 0.9beta |
Component: | Dijit | Version: | 0.4 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description (last modified by )
This is based on #1125.
Tooltip won't work for multi-line spans. Thus, tooltip won't work for long spans, and also, users need to force short spans to one line w/appropriate CSS (text-wrap: nobreak or something like that).
It's because Tooltip uses dojo.html.overElement() rather than watching onMouseOut/onMouseOver events, in order to avoid getting confused by spurious onMouseOut/onMouseOver events caused by the explode effect. The explosion starts from the mouse position, thus temporarily covering up the element the tooltip is attached to, thus causing spurious onMouseOver/onMouseOut events.
Change History (3)
comment:1 Changed 14 years ago by
Description: | modified (diff) |
---|
comment:2 Changed 14 years ago by
Component: | Widgets → Dijit |
---|---|
Milestone: | 0.9 → 1.0 |
comment:3 Changed 14 years ago by
Milestone: | 1.0 → 0.9beta |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
For dijit 0.9, multi line spans are working, and we are monitoring onMouseOver/onMouseOut events. (We are also using fade rather than explosions to show the tooltips, which avoids a lot of this issue.)