Rafał Goławski

Results 3 comments of Rafał Goławski

Moving `rootAction` to the `children` solves this issue. ```jsx const router = createBrowserRouter([ { path: "/", element: , errorElement: , loader: rootLoader, children: [ { errorElement: , action: rootAction, //...

I've managed to solve it using `ref.current.setOpen` method. Couldn't find anything in docs, so I don't know if this is a proper approach, but it works for me 😅 Codesandbox:...

Try importing it with `next/dynamic` and setting `ssr: false`: https://github.com/diegomura/react-pdf/issues/2913#issuecomment-2433500357