corbado/javascript

Fix WebKit conditionalUI issues

Closed this issue · 1 comments

Why

Mobile WebKit versions below iOS 17.4 have strict (and buggy) rules the restrict when conditional UI can be started. In this task we add extra logic that starts conditional UI only after the first user click on the component.

Acceptance criteria

  • passkey login, passkey register and conditional UI still work
  • tests should be conducted on iOS Safari and Chrome (pre 17.4 and 17.4)
  • regression tests should be conducted on MacOS Safari and Chrome