JSFiddle - React, Tailwind, and code Playground

by lbstr

JavaScript

if (self !== top) {
    console.log(window.parent.scrollTop);
}