Skip to content

Commit

Permalink
Fixed #9927 - OverlayPanel not working unless ShareModule is imported…
Browse files Browse the repository at this point in the history
… as well
  • Loading branch information
yigitfindikli committed Mar 8, 2021
1 parent e00b07d commit 15435fa
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/app/components/overlaypanel/overlaypanel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import {NgModule,Component,Input,Output,OnDestroy,EventEmitter,Renderer2,Element
ContentChildren,TemplateRef,AfterContentInit,QueryList,ChangeDetectionStrategy, ViewEncapsulation} from '@angular/core';
import {CommonModule} from '@angular/common';
import {DomHandler, ConnectedOverlayScrollHandler} from 'primeng/dom';
import {PrimeTemplate} from 'primeng/api';
import {SharedModule,PrimeTemplate} from 'primeng/api';
import {RippleModule} from 'primeng/ripple';
import {trigger,state,style,transition,animate,AnimationEvent} from '@angular/animations';

Expand Down Expand Up @@ -313,8 +313,8 @@ export class OverlayPanel implements AfterContentInit, OnDestroy {
}

@NgModule({
imports: [CommonModule,RippleModule],
exports: [OverlayPanel],
imports: [CommonModule,RippleModule, SharedModule],
exports: [OverlayPanel, SharedModule],
declarations: [OverlayPanel]
})
export class OverlayPanelModule { }

0 comments on commit 15435fa

Please sign in to comment.