How to detect when user tap on the safari topbar to scroll to top?

I’m making an app with Ionic Framework v6 and each page has its own ion-content which handles the scrolling.

Problem is that when the user taps the status bar on iPhoneX (and possibly other iPhones) the apps all handle some sort of ScrollToTop, but ionic has that ion-content to handle the scrolling and therefore the tap on the status bar gets ignored.

Is there anyway to intercept that event? So that I can do the scrollToTop in my code?