ion2-calendar
ion2-calendar copied to clipboard
Calendar not working fine with ionic3
Ionic version: (check one with "x") [ ] 2.x [ x] 3.x [ ] 4.x
Ion2-calendar mode: (check one with "x") [ ] components mode [x ] modal mode
I'm submitting a ... (check one with "x") [x ] bug report [ ] feature request [ ] help me
Current behavior: I can't trigger calendar in modal mode. I tried to downgrade to 2.02 but I still get similar issues
core.js:1449 ERROR Error: Uncaught (in promise): TypeError: Cannot read property 'defaultScrollTo' of undefined
TypeError: Cannot read property 'defaultScrollTo' of undefined
at CalendarService.safeOpt (calendar.service.js:26)
at CalendarModal.init (calendar.modal.js:30)
at new CalendarModal (calendar.modal.js:21)
at createClass (core.js:12491)
at createDirectiveInstance (core.js:12326)
at createViewNodes (core.js:13784)
at createRootView (core.js:13673)
at callWithDebugContext (core.js:15098)
at Object.debugCreateRootView [as createRootView] (core.js:14381)
at ComponentFactory_.create (core.js:11278)
at c (polyfills.js:3)
at Object.reject (polyfills.js:3)
at OverlayPortal.NavControllerBase._fireError (nav-controller-base.js:223)
at OverlayPortal.NavControllerBase._failed (nav-controller-base.js:216)
at nav-controller-base.js:263
at t.invoke (polyfills.js:3)
at Object.onInvoke (core.js:4760)
at t.invoke (polyfills.js:3)
at r.run (polyfills.js:3)
at polyfills.js:3
defaultErrorLogger @ core.js:1449
ErrorHandler.handleError @ core.js:1510
next @ core.js:5508
schedulerFn @ core.js:4342
SafeSubscriber.__tryOrUnsub @ Subscriber.js:242
SafeSubscriber.next @ Subscriber.js:189
Subscriber._next @ Subscriber.js:129
Subscriber.next @ Subscriber.js:93
Subject.next @ Subject.js:55
EventEmitter.emit @ core.js:4322
(anonymous) @ core.js:4782
t.invoke @ polyfills.js:3
r.run @ polyfills.js:3
NgZone.runOutsideAngular @ core.js:4708
onHandleError @ core.js:4782
t.handleError @ polyfills.js:3
r.runGuarded @ polyfills.js:3
(anonymous) @ polyfills.js:3
n.microtaskDrainDone @ polyfills.js:3
o @ polyfills.js:3
e.invokeTask @ polyfills.js:3
p @ polyfills.js:2
v @ polyfills.js:2