Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

EmilMoe's avatar
Level 10

Inertia and Sortable.js (VueDraggable)

I'm getting this error related to Vue or Sortable.js. Does anyone know, I fix it? It is as soon as an item has been sorted, it modifies something to the history as far as I can see.

Uncaught DOMException: Failed to execute 'replaceState' on 'History': #<Object> could not be cloned.
    at e.n.replaceState (webpack-internal:///./node_modules/@inertiajs/inertia/dist/index.js:1:11608)
    at e.n.saveScrollPositions (webpack-internal:///./node_modules/@inertiajs/inertia/dist/index.js:1:4514)
    at e.n.visit (webpack-internal:///./node_modules/@inertiajs/inertia/dist/index.js:1:8574)
    at onClick (webpack-internal:///./node_modules/@inertiajs/inertia-vue3/dist/index.js:1:4338)
    at callWithErrorHandling (webpack-internal:///./node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js:267:22)
    at callWithAsyncErrorHandling (webpack-internal:///./node_modules/@vue/runtime-core/dist/runtime-core.esm-bundler.js:276:21)
    at HTMLAnchorElement.invoker (webpack-internal:///./node_modules/@vue/runtime-dom/dist/runtime-dom.esm-bundler.js:478:90)
0 likes
4 replies
EmilMoe's avatar
Level 10

Unfortunately not, I haven't found any clues at all. I think we might be decommissioning Vue draggable and Sortable.js

Please or to participate in this conversation.