Window.scrollY does not show the correct top-scroll value on IE11 but Window.pageYOffset, the alias of Window.scrollY, works as expected. I find confusing the fact that the alias works better than the original property. Could somebody help me understand why? :[
Note - I'm not interested in finding a cross-browser compatible version. The point is that I want to know why an alias on IE11 is not working the same as the value which is being "tracked". I'm not sure if I should deeply focus on some different "aliases" on IE...