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
{{ message }}
Repository navigation
Version 1.98.1 stops working with uncaught SecurityError exception #3634
Updating a router package to version 1.98.1 completely breaks router initialization in native context. In my example it breaks it in Figma Plugin context with following error
Uncaught SecurityError: Failed to read the 'sessionStorage' property from 'Window': Storage is disabled inside 'data:' URLs.
Go to Figma menu -> Plugins -> Development -> Import new plugin from manifest
Select manifest.json from the example plugin project. That should show menu. Just click on the router-kaput plugin and it should show empty UI. The error is in the console. To open console press Shift + P and select/search for Show/Hide console.
If router is downgraded to 1.98.0 and plugin is rebuilt then UI will show working without any plugin errors in console.
Expected behavior
As a user I expect router to work in native context after minor version update
Activity
schiller-manuel commentedon Mar 2, 2025
how can we check whether sessionstorage is accessible then?
fix(react-router,solid-router): `scrollRestoration` crashes if `sessi…