File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -508,7 +508,8 @@ export class MatTooltip implements OnDestroy, AfterViewInit {
508508 . withTransformOriginOn ( `.${ this . _cssClassPrefix } -tooltip` )
509509 . withFlexibleDimensions ( false )
510510 . withViewportMargin ( this . _viewportMargin )
511- . withScrollableContainers ( scrollableAncestors ) ;
511+ . withScrollableContainers ( scrollableAncestors )
512+ . withPopoverLocation ( 'global' ) ;
512513
513514 strategy . positionChanges . pipe ( takeUntil ( this . _destroyed ) ) . subscribe ( change => {
514515 this . _updateCurrentPositionClass ( change . connectionPair ) ;
@@ -528,6 +529,7 @@ export class MatTooltip implements OnDestroy, AfterViewInit {
528529 panelClass : this . _overlayPanelClass ? [ ...this . _overlayPanelClass , panelClass ] : panelClass ,
529530 scrollStrategy : this . _injector . get ( MAT_TOOLTIP_SCROLL_STRATEGY ) ( ) ,
530531 disableAnimations : this . _animationsDisabled ,
532+ usePopover : true ,
531533 } ) ;
532534
533535 this . _updatePosition ( this . _overlayRef ) ;
You can’t perform that action at this time.
0 commit comments