D
D
Dmitry2018-11-18 10:21:32
Angular
Dmitry, 2018-11-18 10:21:32

Why is there a problem with change detection in angular when using modified scroll?

Hi all. I use https://github.com/MurhafSousli/ngx-scrollbar in angular and there is some problem with change detection later on components where scroll is used. Auto-update is enabled at the scrollbar.
5bf111f8d37f0151196523.png
5ka it's just a variable, not observable or something else, and not inside the scrollbar. On the scroll event, change it to 1, we see that everything is ok in the console. And the page is not updated.
I don't understand what's the matter. Trouble with the detector. For each sneeze, the change detector is also somehow not desirable to call.
Maybe someone knows why this is happening.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question