File tree Expand file tree Collapse file tree
projects/igniteui-angular/core/src/services/overlay Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -332,7 +332,7 @@ export class IgxOverlayService implements OnDestroy {
332332 info . settings = eventArgs . settings ;
333333 this . _overlayInfos . push ( info ) ;
334334 info . hook = this . placeElementHook ( info . elementRef . nativeElement ) ;
335- let elementRect ;
335+ let elementRect : DOMRect ;
336336 // Get the element rect size before moving it into the overlay to cache its size.
337337 if ( info . settings . cacheSize ) {
338338 elementRect = info . elementRef . nativeElement . getBoundingClientRect ( ) ;
Original file line number Diff line number Diff line change @@ -136,7 +136,8 @@ export interface OverlaySettings {
136136 excludeFromOutsideClick ?: HTMLElement [ ] ;
137137 /**
138138 * @hidden @internal
139- * Set if the element should retain its size when moved to the overlay.
139+ * Controls whether element size is measured before (true) or after (false) moving to the overlay container.
140+ * Default is true to retain element size.
140141 */
141142 cacheSize ?: boolean ;
142143}
You can’t perform that action at this time.
0 commit comments