F7 - triggering scroll event for Iframe

Hi there,
I am trying to use window scroll events for f7 app which works in iframe on my main app. Since I cant use the f7 ‘dom7’ from my app, i need to do it some other way.

The reason window scroll events are not working on f7 is classes like “view”, “framework7-root” etc uses height: 100% property and some others like html have position prop set to ‘relative’. When I remove those css properties it fixes the scrolling problem however it also brokes the app view/page transitions.

PS: I fixed it by assigning window.$$ to dom7 after initiating app itself in main js file.

Thank you.