Skip to content

Vue 3 compatibility #895

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 2 commits into from
Closed

Vue 3 compatibility #895

wants to merge 2 commits into from

Conversation

Chrissi2812
Copy link

@Chrissi2812 Chrissi2812 commented Jul 23, 2020

This is my attempt at Vue 3 (#881) compatibility, it's not complete.

The demo page kind of works. But onDragStart there is a JS error.

Broken stuff

  • computeVmIndex: Broken because vnode.elm is no longer available.
  • computeIndexes: Same as above.
  • this.getIsFunctional: _vnode and _vnode.fnOptions no longer exists.
  • this.getUnderlyingPotencialDraggableComponent: Don't know exactly whats broken there.
  • ElementUI had to be removed (not Vue 3 compatible)
  • Vuetify had to be removed (not Vue 3 compatible, but planned for Q3/4 2020 Roadmap)

Maybe this helps a little to bring Vue 3 compatibility to this project.

they are not compatible with vue 3 currently
@SortableJS SortableJS deleted a comment from anish2690 Sep 20, 2020
@Chrissi2812
Copy link
Author

I'm can't get the computeVmIndex working.

With native portals landed in Vue3 the ghost Element can be a real Vue element instead of the dummy Element used by now.

Going to close this as I'm not working on this at the moment, hopefully someone else is going to get this library to work with Vue3

@David-Desmaisons
Copy link
Member

Vue 3 support is provided by vue.draggable.next https://github.com/SortableJS/vue.draggable.next

@Chrissi2812 Chrissi2812 deleted the vue-next branch November 16, 2022 08:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants