I've had some trouble when using nz-toggle with md-virtual-repeater.
As ngModel was watched for changes and then updated. When Virtual repeater when you are scrolling down on a table, for example, each element was acting like if it has changed.
Solved by calling the update function onToggle only in the toggle function, instead of calling it on the watch.
I've had some trouble when using nz-toggle with md-virtual-repeater. As ngModel was watched for changes and then updated. When Virtual repeater when you are scrolling down on a table, for example, each element was acting like if it has changed.
Solved by calling the update function
onToggle
only in thetoggle
function, instead of calling it on the watch.