My webpage is scrollable, but the event.pageY
position always corresponds to my screen size. Even when scrolling down and clicking near the top of the screen, it registers as 50px
.
I am currently utilizing
event.pageY
While this functions correctly on a regular HTML page, it behaves strangely in my Angular page where data loads dynamically. It seems to be referencing the laptop screen position rather than the actual page scroll position.