score:0

you could listen for the resize event and compare document.body.scrollheight with document.body.clientheight.

score:1

componentdidmount() {
    const screenheight = window.innerheight;
    const totalheight = window.body.scrollheight;

    if(screenheight < totalheight) {
        alert('scroll detected');
    }

}

this code will most probably solve your issue.


Related Query

More Query from same tag