You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[ ] Regression (a behavior that used to work and stopped working in a new release)
[X ] Bug report
[ ] Feature request
[ ] Documentation issue or request
Current behavior
I have an Angular project that uses ngrx as a redux store. Everything works fine.
I've successfully installed ngrx-scroll-to and it works like a charm.
Here is the thing though. Once you have pressed a button that contains the ngrx-scroll-to directive, I get errors when I dispatch ngrx actions. Any actions dispatched before the button was pressed works fine.
This is the error that is output to the console:
RedeemFundsComponent.html:272 ERROR TypeError: toISOString is not a function
at String.toJSON ()
at Object. (vendor.bundle.js?=2.1.0-beta.1:1)
at derez (:1:65467)
at derez (:1:66088)
at derez (:1:66088)
at derez (:1:66088)
at derez (:1:66088)
at derez (:1:66088)
at derez (:1:66088)
at derez (:1:65906)
at derez (:1:66088)
at derez (:1:66088)
at derez (:1:65906)
at derez (:1:66088)
at derez (:1:65906)
And this is the error that I catch when I pause on exception:
TypeError: Converting circular structure to JSON.
Expected behavior
ngx-scroll-to should not interfere with ngx actions.
I am not really looking for a fix here, I am rather just looking for some guidance on how to debug this issue and to get the 2 libraries working together.
Environment
Angular version: 4.4.6
Your version of `@nicky-lenaers/ngx-scroll-to`:0.6.0
Browser:
- [X] Chrome (desktop) version XX
- [ ] Chrome (Android) version XX
- [ ] Chrome (iOS) version XX
- [ ] Firefox version XX
- [ ] Safari (desktop) version XX
- [ ] Safari (iOS) version XX
- [ ] IE version XX
- [ ] Edge version XX
For Tooling issues:
- Node version: XX
- Platform:
Others:
The text was updated successfully, but these errors were encountered:
As far as what I can see is that the error is because I am sending an unserialisable value as the action payload. The thing is I am only sending a string and nothing changes in the payload once I press the button.
I'm submitting a...
Current behavior
I have an Angular project that uses ngrx as a redux store. Everything works fine.
I've successfully installed ngrx-scroll-to and it works like a charm.
Here is the thing though. Once you have pressed a button that contains the ngrx-scroll-to directive, I get errors when I dispatch ngrx actions. Any actions dispatched before the button was pressed works fine.
This is the error that is output to the console:
RedeemFundsComponent.html:272 ERROR TypeError: toISOString is not a function
at String.toJSON ()
at Object. (vendor.bundle.js?=2.1.0-beta.1:1)
at derez (:1:65467)
at derez (:1:66088)
at derez (:1:66088)
at derez (:1:66088)
at derez (:1:66088)
at derez (:1:66088)
at derez (:1:66088)
at derez (:1:65906)
at derez (:1:66088)
at derez (:1:66088)
at derez (:1:65906)
at derez (:1:66088)
at derez (:1:65906)
And this is the error that I catch when I pause on exception:
TypeError: Converting circular structure to JSON.
Expected behavior
ngx-scroll-to should not interfere with ngx actions.
I am not really looking for a fix here, I am rather just looking for some guidance on how to debug this issue and to get the 2 libraries working together.
Environment
The text was updated successfully, but these errors were encountered: