Cannot drag a video element inside of a Draggable
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 35/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Stack tecnológico
- javascript, react
- Área
- frontend
Línea de trabajo
Start with the linked CodeSandbox reproduction and compare the draggable video behavior in Chrome 78 with the working div, Firefox, or Chrome 77. Trace the relevant react-draggable behavior using the reproduction; done means a video element fed by getUserMedia can be dragged inside Draggable without regression.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Hello, react-draggable maintainers! I think your package is lovely, and we use it for a video call interface in which we have a draggable "video panel" that can be moved around the screen.
However, ever since updating to Chrome 78, we've noticed that <video> tags inside of a Draggable are not being dragged correctly.
Here's a GIF of the behavior I'm seeing -- in green, you can see a "normal" draggable div without a video tag inside. That one works fine. In the black box, there's a draggable div with a video, fed by the getUserMedia API. This one, you can see that I have trouble dragging.

Operating system: OSX Mojave / 10.14.6
Browser version: Version 78.0.3904.70
react-draggable version: Originally noticed on 3.3.2, but was able to reproduce with 4.1.0 as well
I wasn't able to reproduce this behavior on Firefox or in Chrome 77, so I think it might be something recently broken by the latest Chrome update. It used to to work!
Here is a simple reproduction:
https://codesandbox.io/embed/elated-goldwasser-4pogf
- 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
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de react-grid-layout/react-draggable
-
Dificultad 3/5 1-2 días Aptitud para principiantes 72/100
-
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
react-grid-layout/react-draggable#784 · 4 comentarios · 2 reacciones ·
-
V4.5.0 Chrome Extension Error Abierto
Dificultad 3/5 1-2 días Aptitud para principiantes 45/100
react-grid-layout/react-draggable#782 · 1 comentario ·
-
Dificultad 3/5 1-2 días Aptitud para principiantes 25/100
react-grid-layout/react-draggable#781 · 1 comentario · 2 reacciones ·
-
the new version 4.5.0 会导致系统打包报错 Abierto
Dificultad 4/5 3-5 días Aptitud para principiantes 25/100
react-grid-layout/react-draggable#780 · 8 comentarios ·
Todos los issues de react-grid-layout/react-draggable
Issues similares
-
enhancement
Dificultad 2/5 1-3 horas Aptitud para principiantes 70/100
babalae/bettergi-scripts-list#3674 ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 88/100
vadimdemedes/ink#1029 ·
-
code-quality refactoring
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
github/gh-aw-firewall#8816 ·
-
integration:quickjs org:external priority:backlog topic:code-interpreter topic:middleware type:feature
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
langchain-ai/deepagents#6450 ·
-
optimization optimization:agents-md-curator
Dificultad 2/5 1-3 horas Aptitud para principiantes 86/100
githubnext/gh-aw-cao#13143 ·