This appears to be an open bug in Azure B2C and can be replicated by using a combination of the keyboard and mouse. For example, clicking on "send code" then pasting the code and hitting the enter key on the keyboard. I am not sure if Microsoft is aware of the bug.
Using all keyboard or all mouse generally does not appear to cause the error and the user can verify the email address and proceed.