Opened 8 years ago

Closed 8 years ago

#13876 closed bug (notabug)

Tooltip of focused targer is not repositioned after target moves

Reported by: [email protected] Owned by:
Priority: minor Milestone: none
Component: ui.tooltip Version: 1.11.4
Keywords: Cc:
Blocked by: Blocking:


Noticed in all versions of jquery UI.

A target element with tooltip (in the example is a button), that when focused shows the tooltip. If press ENTER/SPACE, the button shows a hidden DIV element which changes the position of the button, but the tooltip remains in the same place.

See fiddle:

Change History (1)

comment:1 Changed 8 years ago by Scott González

Resolution: notabug
Status: newclosed

To answer the question in the fiddle: No, this is not a bug. The tooltip does have dynamic positioning (unless the track option is set, but even then it doesn't apply to focus-activated tooltips). After the click, the button still has focus, so the tooltip remains open. If you're going to change the layout of the page by showing elements, I'd suggest manually closing the tooltip when performing that action.

Note: See TracTickets for help on using tickets.