Description
Environment: com.firebaseui:firebase-ui-auth:10.0.0-beta01 (Compose)
Steps to Reproduce:
On the "EnterPhoneNumberUI" screen, enter a phone number and click "Continue".
On the "EnterVerificationCodeUI" screen, click "Change phone number" to return to the previous screen.
Within the SMS cooldown period, enter the same phone number and click "Continue" again.
Observed Result: The UI becomes stuck on the "Verifying phone number" state with a loading indicator. It does not proceed to the "EnterVerificationCodeUI" screen, no error message is displayed, and the user cannot interact with the form to try again or go back.
Expected Result: The loading state should dismiss if the SMS cannot be sent due to the cooldown. The UI should remain interactive and display a clear error message informing the user about the cooldown/rate limit.