Just tested this, and can’t reproduce the issue.
Is it possible that you maybe still have the old deprecated Two-Factor U2F app enabled? If so you should switch to the Two-Factor WebAuthn app.
Other than that, I’m not sure what could cause the issue.