src/component/tooltip/TooltipContent.js
function () {
        // FIXME
        // Move this logic to ec main?
        var container = this._container;
        var stl = container.currentStyle
            || document.defaultView.getComputedStyle(container);
        var domStyle = container.style;
        if (domStyle.position !== 'absolute' && stl.position !== 'absolute') {
            domStyle.position = 'relative';
        }
        // Hide the tooltip
        // PENDING
        // this.hide();
    }
function () {
        // FIXME
        // Move this logic to ec main?
        var container = this._container;
        var stl = container.currentStyle
            || document.defaultView.getComputedStyle(container);
        var domStyle = container.style;
        if (domStyle.position !== 'absolute' && stl.position !== 'absolute') {
            domStyle.position = 'relative';
        }
        // Hide the tooltip
        // PENDING
        // this.hide();
    }
function ( ) { // FIXME // Move this logic to ec main? var container = this . _container ; var stl = container . currentStyle || document . defaultView . getComputedStyle ( container ) ; var domStyle = container . style ; if ( domStyle . position !== 'absolute' && stl . position !== 'absolute' ) { domStyle . position = 'relative' ; } // Hide the tooltip // PENDING // this.hide(); }
Update when tooltip is rendered
Update when tooltip is rendered