How to detect when page is scrolled to original top content


#1

I created a fab button that fades in when scrolled downwards. Now I want it to fade out when I scroll to the originally loaded page.

Problem is: how do I detect when I scroll to my original page content? Because when I can detect that I can then make my button fade out.


#2

See: