Page MenuHomePhabricator

Tooltip flicker at certain cursor positions
Closed, ResolvedPublic

Description

In the comment box's editor's toolbar, if the mouse cursor is positioned at the top of a toolbar icon, then the tooltip continually flickers on and off. (I'm guessing that the tooltip shows where the mouse is, causing the mouse to no longer be hovering over the toolbar, causing the tooltip to be hidden, causing the mouse to be hovering over the toolbar, etc.)

Observed in Firefox 38.0.5 (where the tooltip flickers slowly) and Chrome 43 (where the tooltip flickers rapidly).

Event Timeline

joshkel created this task.Jun 5 2015, 1:09 PM
joshkel raised the priority of this task from to Low.
joshkel updated the task description. (Show Details)
joshkel added a subscriber: joshkel.

chad raised the priority of this task from Low to Needs Triage.Jun 5 2015, 5:22 PM
chad added a project: PHUI.

Here's the DOM with the tooltip container and timestamp container colored:

(The red part doesn't need to exist on the left, right, or top, but does need to exist on the bottom so the little "V" at the bottom has room, and it's easier to pad it on every side than to pad only the side where we need padding.)

When you move your mouse into the area where the red and the orange parts overlap, Chrome flickers since the red part hides the tip, then you're still in the orange so it shows the tooltip again.