Project

General

Profile

Actions

Bug #8328

closed

Firefox Tooltip binding unreliable

Added by krileon over 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
Target version:
Start date:
04 January 2021
Due date:
% Done:

100%

Estimated time:

Description

Tooltips are relying on window load event, but on FireFox this doesn't seam to be reliably called resulting in tooltips sometimes never binding. Review using setTimeout to delay the binding instead of trying to do this on window load event.

Actions #1

Updated by krileon over 3 years ago

This only appears to happen for Firefox and only if window load event is registered inside of a jQuery ready statement.

Actions #2

Updated by krileon over 3 years ago

Removing the window event binding entirely works fine, but we need to give time for some other processes to move DOM elements around before we bind to tooltips so a setTimeout of something like 100 milliseconds is enough to solve this.

Actions #3

Updated by krileon over 3 years ago

  • Status changed from Assigned to Resolved
  • % Done changed from 0 to 100

Fixed in MR !1611

Actions #4

Updated by beat about 3 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF