if ( visible && !this.warnedUnattached && !this.isElementAttached() ) {
        OO.ui.warnDeprecation( 'MenuSelectWidget#toggle: Before calling this method, the menu must be attached to the DOM.' );
        this.warnedUnattached = true;
    }