Skip to content
This repository has been archived by the owner on Sep 26, 2023. It is now read-only.

The picker doesn't open on macOS Catalina #256

Closed
dEEpProjects opened this issue Jan 25, 2023 · 2 comments
Closed

The picker doesn't open on macOS Catalina #256

dEEpProjects opened this issue Jan 25, 2023 · 2 comments
Assignees
Labels
bug Something isn't working pending Changes have been committed and will be included in the next release. triaged Issue has been looked at and triaged

Comments

@dEEpProjects
Copy link

On macOS Catalina (Safari 13.1.2), the picker doesn't load and launches the following exceptions:

Schermata 2023-01-25 alle 09 05 45

I'm embedding your picker on a cross-domain iframe and I'm using the IndexedDB based store.

The security error can be easily bypassed by using the in-memory data store, although I would have preferred to continue using IndexedDB.

I've checked caniuse and it seems that replaceChildren is supported by Safari 14:
https://caniuse.com/?search=replaceChildren

Although this environment is not brand new, it has only 3 years old.
The same issue happens on iOS 13.x.

Could you please have a look at this?

Thanks for your time and your great project.

@joeattardi
Copy link
Owner

Yikes, I never realized that replaceChildren was only recently widely supported. I can try to fix those parts of the code to use something with better compatibility.

@joeattardi joeattardi self-assigned this Jan 26, 2023
@joeattardi joeattardi added bug Something isn't working triaged Issue has been looked at and triaged pending Changes have been committed and will be included in the next release. labels Jan 26, 2023
@joeattardi
Copy link
Owner

Just published a new release, 5.7.3, that should resolve this issue. Please let me know or reopen if you still have issues!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working pending Changes have been committed and will be included in the next release. triaged Issue has been looked at and triaged
Projects
None yet
Development

No branches or pull requests

2 participants