-
Notifications
You must be signed in to change notification settings - Fork 0
Random error clicking on popover, and empty popover when opening from popover.load #3
Description
Hi, I've just bought the popover and got it working but here are 2 issues.
-
When using the the popup with code (popover.load) and passing in a component, it's always empty. If I use the popover directive then it works fine (so I'm doing that for now). Any immediate ideas? I've followed the installation guide and made sure all components (including my component) are registered properly (entryComponents, declarations etc).
-
This is the most annoying one. Every now and again (and I'm really struggling to replicated it) I get the following error in the console when opening a popover:
ERROR TypeError: Cannot read property 'animationTranslateY' of undefined at OverlayContainerComponent.push.../../node_modules/@ivylab/overlay-angular/fesm5/ivylab-overlay-angular.js.OverlayContainerComponent.closeOverlay (ivylab-overlay-angular.js:300) at OverlayContainerComponent.push.../../node_modules/@ivylab/overlay-angular/fesm5/ivylab-overlay-angular.js.OverlayContainerComponent.handleGlobalEvents (ivylab-overlay-angular.js:324) at SafeSubscriber._next (ivylab-overlay-angular.js:68) at SafeSubscriber.push.../../node_modules/rxjs/_esm5/internal/Subscriber.js.SafeSubscriber.__tryOrUnsub (Subscriber.js:196) at SafeSubscriber.push.../../node_modules/rxjs/_esm5/internal/Subscriber.js.SafeSubscriber.next (Subscriber.js:134) at Subscriber.push.../../node_modules/rxjs/_esm5/internal/Subscriber.js.Subscriber._next (Subscriber.js:77) at Subscriber.push.../../node_modules/rxjs/_esm5/internal/Subscriber.js.Subscriber.next (Subscriber.js:54) at ReplaySubject.push.../../node_modules/rxjs/_esm5/internal/ReplaySubject.js.ReplaySubject._subscribe (ReplaySubject.js:67) at ReplaySubject.push.../../node_modules/rxjs/_esm5/internal/Observable.js.Observable._trySubscribe (Observable.js:43) at ReplaySubject.push.../../node_modules/rxjs/_esm5/internal/Subject.js.Subject._trySubscribe (Subject.js:89)
I'm not doing anything special or strange. The code to trigger the popover is this:
<i class="fas fa-print" popoverWidth="200px" placement="bottom-left" [popoverTriggerFor]="subStatesFilter">
The popover element is this:
<popover #subStatesFilter> Hello world! </popover>
I'm using Angular 7.1.0
Any ideas?