JSFiddle - React, Tailwind, and code Playground by lbstr August 30, 2013 JavaScript if (self !== top) { console.log(window.parent.scrollTop); }