A better way to deal with scrolling inside iframes?
I have site A, a dashsboarding site, that we are embedding in site B. Site A is built as a single page application that cannot be auto height. It's intended to be 100vh height. I embed it in Site B, but I'm trying to avoid scrolling confusion. Right now I'm using sticky positioning to get the iframe to stick and act like a full-window application for the moments you are looking at it.
Is there a better way to handle this? Maybe a dedicated area on the right to scroll the overall page instead of iframe? Or js that always pulls the iframe to the top of the your screen so your never stuck with an iframe half in view?