LycheeOrg / Lychee-front

JS implementation of Lychee frontend

Home Page:https://lycheeorg.github.io/

Repository from Github https://github.comLycheeOrg/Lychee-frontRepository from Github https://github.comLycheeOrg/Lychee-front

WebAuthn.js does not work on older Safari versions

nicokaiser opened this issue · comments

This is a copy of Lychee#1710

Since (about) version 4.7, Lychee does not work in older Safari browsers. Safari <= 13 is present on older iOS versions, and most probably some older android devices are also affected.

The culprit seems to be the new WebAuthn.js, which uses private class methods, and which is directly committed into the dist folder (and thus not being transpiled by the Babel task in Lychee-front.

Has this been a deliberate choice, or should the files in dist also be somewhere else and included in the transpilation step?

I‘d happy to help with a PR, but am not yet familiar with the interweaved structure of Lychee and Lychee-front…

This definitively affects iOS 12 (which was just recently updated with a security fix, so it is still around on some older devices), but also iOS/iPadOS 15 (which could be updated to iOS 16).

There are some other things that break on "older" browsers, like the "overflow: clip" CSS property and the use of the ResizeObserver (#382), but I'll address these in another PR.