Refresh Page with popup present has gray background
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 48/100
- Tipo de issue
- Error
- Claridad
- Bastante claro
- Estado de actividad
- Tranquilo
- Stack tecnológico
- javascript
- Área
- frontend
Línea de trabajo
Empieza reproduciendo el problema con un popup con el backdrop predeterminado abierto; después, llama a router.refreshPage() y observa el backdrop de la página. Sigue los puntos de entrada del popup y de la actualización del router para determinar por qué el fondo gris permanece después de la actualización. Se considera terminado cuando la página actualizada queda limpia y el comportamiento del popup sigue siendo correcto para layouts de tamaño modal.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
- Framework7 version: 8.3
- Platform and Target: any but I'm using firefox and chrome for this project
- Live Link or CodeSandbox: PREFERABLY (IF YOU WANT YOUR ISSUE TO BE RESOLVED ASAP). You can start from forking the following CodeSandbox template: CodeSandbox
I can provide a sandbox if you need it. Let me know.
Describe the bug
router refresh page works but if you have a popup displaying with gray background enabled (default), the parent page displays with the gray background.
To Reproduce
Any page with an included popup and default options. Open the popup and then issue a router.refreshPage() (could use a button but in my case it was driven from an event).
Expected behavior
A clean refresh of the page should occur.
Actual Behavior
Page is displayed with grayed background. Clicking the page will turn it off.
Screenshots
Additional context
I was able to resolve this by adding data-backdrop="false" to the popup definition. This works for me because the display format always shows the popup in full screen and graying the background is not visible. But for larger screen formats where the popup looks like a modal dialog box, this solution would not be adequate. It seems a refresh should refresh the page regardless of state.
- Lenguaje dominante
- JavaScript
- Estrellas
- 18.8k
- Forks
- 3.2k
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Guía de contribución
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 framework7io/framework7
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
framework7io/framework7#4365 · 1 comentario ·
-
propsHistory Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
framework7io/framework7#4347 · 1 comentario ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 64/100
framework7io/framework7#4222 · 3 comentarios ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
framework7io/framework7#4175 · 1 comentario ·
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
framework7io/framework7#3969 · 3 comentarios ·
Todos los issues de framework7io/framework7
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
-
area-deployment area-integrations triage:bot-seen
Dificultad 2/5 Medio día Aptitud para principiantes 86/100
-
Issue-Bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
sugarlabs/musicblocks#8924 ·
-
Dificultad 1/5 Menos de una hora Aptitud para principiantes 90/100
ArduPilot/ardupilot_wiki#8088 ·
-
[BUG] createTool tools cannot be registered with Mastra when exactOptionalPropertyTypes is enabled Abiertocustomer-eng status: needs triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100