network icon indicating copy to clipboard operation
network copied to clipboard

Order of buttons is inconsistent for Login code flow

Open aliciacyy opened this issue 1 year ago • 1 comments

Preflight checklist

Ory Network Project

https://adoring-rubin-cbdddjiw91.projects.oryapis.com

Describe the bug

When user is asked to submit the login code flow for the first time, the order of the button is Continue, followed by Resend Code image

But after submitting, when the code is invalid, the button order is reversed image

Prefer to have the Continue button to remain as the first button because if user presses the Enter key for the second screenshot, it will resend the code again instead of submitting the new code.

Reproducing the bug

  1. Login with code
  2. Submit an invalid code

Relevant log output

No response

Relevant configuration

No response

Version

Cloud

On which operating system are you observing this issue?

None

In which environment are you deploying?

None

Additional Context

No response

aliciacyy avatar Sep 19 '24 09:09 aliciacyy

Thanks, we will take a look.

jonas-jonas avatar Sep 19 '24 09:09 jonas-jonas

This is no longer an issue in the new Account Experience and @ory/elements-react.

jonas-jonas avatar Sep 09 '25 12:09 jonas-jonas