Safari iOS Browser Auto-Navigation Issue During OTP Input

Steps to Reproduce:

  1. Open Safari browser on an iOS device.
  2. Navigate to a webpage requiring OTP input for authentication.
  3. Request OTP and wait for the SMS containing the code.
  4. When the SMS is received, Safari browser attempts to read the OTP automatically.
  5. The suggested OTP is displayed, and upon selecting it, the browser navigates to the previous screen or page.
  6. The navigation triggers the current screen button, preventing the entered OTP from being applied.

IOS version: 17.0.3

Expected Behavior:

After selecting the suggested OTP, Safari should not automatically navigate to the previous screen/page, and the entered OTP should be successfully applied to the authentication process.

Actual Behavior:

Safari browser on iOS automatically navigates to the previous screen/page after selecting the suggested OTP, preventing successful entry of the OTP.

Safari iOS Browser Auto-Navigation Issue During OTP Input
 
 
Q