Steps to Reproduce:
- Open Safari browser on an iOS device.
- Navigate to a webpage requiring OTP input for authentication.
- Request OTP and wait for the SMS containing the code.
- When the SMS is received, Safari browser attempts to read the OTP automatically.
- The suggested OTP is displayed, and upon selecting it, the browser navigates to the previous screen or page.
- 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.