@@ -455,7 +455,8 @@ export class MatTooltip implements OnDestroy, AfterViewInit {
455455 const overlayRef = this . _createOverlay ( origin ) ;
456456 this . _detach ( ) ;
457457 this . _portal =
458- this . _portal || new ComponentPortal ( this . _tooltipComponent , this . _injector . get ( ViewContainerRef ) ) ;
458+ this . _portal ||
459+ new ComponentPortal ( this . _tooltipComponent , this . _injector . get ( ViewContainerRef ) ) ;
459460 const instance = ( this . _tooltipInstance = overlayRef . attach ( this . _portal ) . instance ) ;
460461 instance . _triggerElement = this . _elementRef . nativeElement ;
461462 instance . _mouseLeaveHideDelay = this . _hideDelay ;
@@ -505,9 +506,9 @@ export class MatTooltip implements OnDestroy, AfterViewInit {
505506 this . _detach ( ) ;
506507 }
507508
508- const scrollableAncestors = this . _injector . get ( ScrollDispatcher ) . getAncestorScrollContainers (
509- this . _elementRef ,
510- ) ;
509+ const scrollableAncestors = this . _injector
510+ . get ( ScrollDispatcher )
511+ . getAncestorScrollContainers ( this . _elementRef ) ;
511512
512513 const overlay = this . _injector . get ( Overlay ) ;
513514
@@ -869,7 +870,9 @@ export class MatTooltip implements OnDestroy, AfterViewInit {
869870 /** Listener for the `wheel` event on the element. */
870871 private _wheelListener ( event : WheelEvent ) {
871872 if ( this . _isTooltipVisible ( ) ) {
872- const elementUnderPointer = this . _injector . get ( DOCUMENT ) . elementFromPoint ( event . clientX , event . clientY ) ;
873+ const elementUnderPointer = this . _injector
874+ . get ( DOCUMENT )
875+ . elementFromPoint ( event . clientX , event . clientY ) ;
873876 const element = this . _elementRef . nativeElement ;
874877
875878 // On non-touch devices we depend on the `mouseleave` event to close the tooltip, but it
0 commit comments