Open Bug 1549295 Opened 2 years ago Updated 1 year ago

Tooltip does not get disappear while doing horizontal scrolling as browser does not fire mouseLeave event


(Core :: DOM: Events, defect, P2)

66 Branch





(Reporter: jkachhadiya, Unassigned)



(1 file)

Attached image FireFox.png

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_4) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.131 Safari/537.36

Steps to reproduce:

I am using Firefox on macOS 10.14.4 to develop and test my application.

Steps to reproduce issue:

  1. Create table with tooltips on each cell.
  2. put mouse cursor on one of the element. Tooltip will appear there.
  3. Scroll horizontally, Tooltips will get bundled up on one another.

Upon throughly investigation, I found that Firefox is not triggering mouseLeave event while horizontal scrolling. It seems that if elements get change without change in mouse position then browser does not trigger element leave event.

Actual results:

While testing I have noticed that If I do horizontal scrolling on table, All the tooltips are getting bundled upon one another and they do not get disappear until I reload whole application. However it is working correctly in chrome.

Expected results:

If element is changing underneath mouse point due to scrolling, then it means that we are leaving that element. So, mouseLeave and focusOut event should get fired and Tooltip should get disappear.

Component: Untriaged → DOM: Core & HTML
Product: Firefox → Core
Component: DOM: Core & HTML → DOM: Events
Priority: -- → P2

hi, is it open?
I want to work on it.

You need to log in before you can comment on or make changes to this bug.