Modal gets stuck in in-app browser - iOS 16.4 beta 4 (20E5239b)

we are using Cordova to create our iOS app. The issue is with the in-app browser feature in our mobile app in the iOS 16.4 beta 3 and beta 4 releases. This issue is not present in the stable iOS version, and our team has not made any recent changes to the code that would affect this feature.

The problem is that modal is misplaced in the in-app browser.

To provide more detail, when a user clicks on a link within the in-app browser that should open a modal, the modal does appear but upon scrolling (intermittent) and inputting into text field (always) the modal is floating in the middle of the browser instead of attaching the top which it should be.

Also on one of the page, the page is rendered correctly but upon scrolling the bottom buttons becomes invisible but remains interactive. However, the button should always show at the bottom.

The app is working perfectly using safari browser on all iOS.

This issue is preventing me from properly utilizing the in-app browser feature, which is crucial to my daily use of the app.