I'm attempting to adjust the cursor property within an Angular function. The issue I'm facing is that when I begin scrolling the webpage, the cursor changes to a pointer, but when I stop scrolling, it remains as a pointer. I've attempted to use the window.pageYOffset property, however, it only changes the cursor to a pointer and does not revert back to the default cursor when scrolling stops.
Any assistance in resolving this problem would be greatly appreciated.