Ory Elements is a component library that makes building login, registration and account pages for Ory a breeze. Check out the components library on Chromatic https://www.chromatic.com/library?appId=63b58e306cfd32348fa48d50
TypeError: null is not an object (evaluating 'y.name') is what is shown in the Developer Tools console, found in Safari. One must use Safari's developer tools to see the error outputs from an Xcode simulator.
Reproducing the bug
Install Ory Element's React SPA example. I used the instructions from README.md file
Fire up Vite via npm run dev -- --port 3000 and Ory Tunnel via ory tunnel http://localhost:3000 --project <project-slug> --dev
Install a simulator with iOS 15.3 or 15.2 via Xcode
Push the logical home button so that you can go to the Safari browser
Preflight checklist
Describe the bug
TypeError: null is not an object (evaluating 'y.name') is what is shown in the Developer Tools console, found in Safari. One must use Safari's developer tools to see the error outputs from an Xcode simulator.
Reproducing the bug
npm run dev -- --port 3000
and Ory Tunnel viaory tunnel http://localhost:3000 --project <project-slug> --dev
Relevant log output
Relevant configuration
Version
v0.0.1-beta.7
On which operating system are you observing this issue?
macOS
In which environment are you deploying?
Ory Cloud
Additional Context
Please take a look at CanIUse. There you can see that there is a bug with the SubmitEvent API: submitter functionality starting on iOS 15.3.
My coworker found the problematic code resides in the following file: src/react-components/ory/helpers/user-auth-form.tsx, ~line 83
Thank you