Autofocus causes strange keyboard behavior on mobile

I have just noticed that Turbo creates a strange behavior of the keyboard on mobile.

Actual behavior: If you visit a page, like a login page, that has a form field with autofocus, then the keyboard is opened immediately, covering most part of the screen.

Expected behavior: The normal behavior of autofocus on mobile is to display a blinking text cursor in the field, but not open the keyboard.

Is there any way to fix this behavior?

Note: I have several sites built in Rails that have Devise pages with autofocus fields… Only the one website that has Turbo has this strange behavior. All other sites have a normal autofocus behavior on mobile.