• Eric Martel's avatar
    Fix tooltip positioning with regard to viewports · 88697c03
    Eric Martel authored
    The getPosition function was simplified with a new function,
    getViewportBounds, was added to specifically
    tackle the cases where we’re looking for the viewport bounds.
    
    'absolute' and 'fixed' tooltips are now matched against the screen
    where other ones are made to fit inside the viewport element.
    
    Fixes #14195
    Closes #14226
    88697c03
tooltip.js 15.6 KB