Using React Draggable for dragging list items.

Abierto
#703 0 comentarios 1 reacción 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
25/100
Tipo de issue
Nueva funcionalidad
Claridad
Necesita aclaración
Estado de actividad
Estancado
Stack tecnológico
javascript, react
Área
frontend

Línea de trabajo

No repository file or test is named. Start by reviewing the react-draggable API and the linked react-beautiful-dnd behavior, then determine whether automatic repositioning and moving items between lists fit this component's scope; done would be a clearly documented recommended approach or a defined feature proposal.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Hi,

I want to use react-draggable in my project for dragging list items, from one list to another list and also within a list. For this use case, react-beautiful-dnd provides an easy to use API. The issue is I am already using react-draggable in my project where I freely dragging a Modal on the screen, due to this I do not want to add one more drag and drop related library in my project.
I find one blog which uses react-draggable for dragging list items within a list: https://www.copycat.dev/blog/react-draggable/
But this is not handling the automatic repositioning of list items like react-beautiful-dnd handles (ref: https://user-images.githubusercontent.com/2182637/53614150-efbed780-3c2c-11e9-9204-a5d2e746faca.gif)

Is there any recommended way which I can use to build list item dragging use case using react-draggable?

Lenguaje dominante
JavaScript
Estrellas
9.3k
Forks
1k
Merge medio
3 d 8 h
PR fusionados (30 d)
4

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de react-grid-layout/react-draggable

Todos los issues de react-grid-layout/react-draggable

Issues similares

Más issues de JavaScript

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.