Popout Window - react-map-gl interaction breaking
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 43/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Estancado
- Stack tecnológico
- react, typescript
- Área
- frontend
Línea de trabajo
Start with a react-map-gl map inside a dockview panel, then reproduce the broken dragging and panning after opening that panel in a popout window. Inspect where the map's interaction element is mounted before and after the popout, using the screenshots and reproduction steps in the issue. Done means the interaction element remains associated with the popout panel and map dragging and panning continue to work there.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Describe the bug
Apologies for the specific case bug, but if you have a https://visgl.github.io/react-map-gl/docs react-map-gl component within a panel and then have that popout, all interaction seems to break.
To Reproduce
Steps to reproduce the behavior:
- Have a basic layout of 2/3 panels (ensuring one is a full width/height react-map-gl map component)
- Interact with the map via dragging and panning the view
- Observe it is working correctly
- Popout the panel that contains the map
- Interact with the map via dragging and panning the view
- Observe it is not working
- Click and hold in the map component and drag your mouse over one of the existing panels in the layout
- Observe the map interaction now briefly does something
Expected behavior
I would expect that the popout of the map panel would ensure that the div the components create for its interaction are retained within the panel and the interaction isn't broken.
Screenshots
Above SC shows that the div the mapbox creates in the root of the DOM it belongs to is still present in the original location of the panel
Above SC shows that the canvas that belongs to the map is present in the popout window
Desktop (please complete the following information):
- Chrome
- Version 131.0.6778.140
Additional context
Apologies again for not being able to give a codesandbox or fork that can show this issue better, I do have the following video which demonstrates the issue:
https://github.com/user-attachments/assets/40780ec5-3d66-41b0-a4cc-f99291aba90b
- Lenguaje dominante
- TypeScript
- Estrellas
- 3.5k
- Forks
- 178
- Merge medio
- 18 h 34 min
- PR fusionados (30 d)
- 53
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
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 dockview/dockview
-
Popping out a single panel leaves its always render overlay in the main window, blocking clicksPosiblemente ocupada @pujitha24 la tomó hace 1 día. Abiertobug triaged
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día
-
Scrollbar does not clear its resize timer on dispose, keeping a closed tab strip alive for 500 msAbiertobug triaged
Dificultad 2/5 1-3 horas Aptitud para principiantes 85/100
Los mantenedores suelen responder en 1 día
-
Feature: `LayoutPriority.Fill` — one view absorbs remaining space, siblings keep fixed sizesPosiblemente ocupada @mathuo la tomó hace 129 días. Abiertoimprovement triaged
Dificultad 5/5 Más de una semana Aptitud para principiantes 28/100
dockview/dockview#1378 · 2 comentarios ·
Los mantenedores suelen responder en 1 día
-
improvement triaged
Dificultad 5/5 Más de una semana Aptitud para principiantes 35/100
Los mantenedores suelen responder en 1 día
-
improvement triaged
Dificultad 5/5 Más de una semana Aptitud para principiantes 28/100
Los mantenedores suelen responder en 1 día
Todos los issues de dockview/dockview
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
earendil-works/pi-claude-code#36 ·
Los mantenedores suelen responder en 6 días
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
Los mantenedores suelen responder en 1 día
-
Resources: New work of jabodetabekPosiblemente ocupada @rmt-svc la tomó hoy. Abiertoresources
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
railmapgen/rmp-gallery#4167 ·
Los mantenedores suelen responder en 2 días
-
documentation p1
Dificultad 2/5 1-3 horas Aptitud para principiantes 75/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 83/100
microsoft/monaco-editor#5577 ·
Los mantenedores suelen responder en 1 día