Opened 10 years ago
Closed 10 years ago
#13225 closed defect (fixed)
Tooltip: click focusable node then mouse away, tooltip remains
Reported by: | bill | Owned by: | bill |
---|---|---|---|
Priority: | high | Milestone: | 1.7 |
Component: | Dijit | Version: | 1.7.0b1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: |
Description
For keyboard users, tooltips need to appear on focus and disappear on blur. However, when a node is focused by a mouse click, and a tooltip appears, it may obscure other things on the page.
For example, clicking an <input> makes a tooltip appear, covering up the form submit button.
In this case, the tooltip should disappear when the node is unhovered.
See #3811 for original work on tooltip/keyboard support.
Attachments (1)
Change History (2)
Changed 10 years ago by
Attachment: | keyboardFocusForTooltip.patch added |
---|
comment:1 Changed 10 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
(In [25493]) Remove code to keep a tooltip open if the associated element still has focus (even though the mouse moved away). Code was added in [10444] but it's unclear why it's needed. I suppose it's for when a user tabs into a field and then accidentally moves the mouse over it, but that doesn't seem important enough to worry about. Fixes #13225, refs #3811 !strict.
patch that ignores focus events when they come from a mouse click