You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ReadMe states that the requestIdleCallback api will only be used for browser that support it, but that seems to not be the case. I provided a work around for anyone that runs into this, but it seems like something that should be addressed. I don't mind working a changeset to fix this behavior, unless the maintainers of this project have a different idea for how to resolve this issue.
gregjoeval
changed the title
ReferenceError: Can't find variable: requestIdleCallback (Safari)
(v3.0.0-beta.3) ReferenceError: Can't find variable: requestIdleCallback (Safari)
Mar 30, 2022
gregjoeval
changed the title
(v3.0.0-beta.3) ReferenceError: Can't find variable: requestIdleCallback (Safari)
[v3.0.0-beta.3] (Safari) ReferenceError: Can't find variable: requestIdleCallback
Mar 30, 2022
Description:
Safari doesn't officially support the
requestIdleCallback
api yet (can be enabled via experimental WebKit features).The
requestIdleCallback
api is still under consideration by WebKit.Example:
Work Around:
polyfill the
requestIdleCallback
apirequestidlecallback-polyfill
aFarkas/requestIdleCallback
Environment:
"react-vtree": "^3.0.0-beta.3",
Safari Version 15.3 (17612.4.9.1.8)
The text was updated successfully, but these errors were encountered: