iOS keyboard accessory buttons

Hey, we encountered the following issue: the next and previos input buttons, on the iOS keyboard accessory bar, do not work as expected;

The expected behavior is the browser scrolling the page and being able to focus every input.
The current behavior is that the neither are the inputs scrolled into the view and neither can you select all, only the ones that are visible in the viewport before opening the keyboard.

I tested with a bare react project and the problem is the following: the moment you introduce an overflow: scroll into a container this feature breaks.
So if you let your app naturally overflow the view ( html height is 200% of the device height ) this feature works as it seems safari is scrolling the whole page, if you set the view to be 100vh / 100% and then give it an overflow: scroll this feature breaks as explained above.

Anybody ran into this?