1px vertical missing overlay
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
- react-native, typescript
- Área
- mobile
Línea de trabajo
Comienza con la configuración de CopilotProvider y el svgMaskPath personalizado proporcionados, y reproduce el problema en Android API 34 con react-native-copilot 3.3.x y react-native-svg. Compara la superposición SVG con overlay="view"; se considera terminado cuando la superposición de Android no tiene una separación de 1px y la máscara personalizada sigue funcionando.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
Current Behavior
I have a 1px vertical without overlay on the right of the screen
Input Code
- REPL or Repo link if applicable:
function App() {
return (
<CopilotProvider stepNumberComponent={()=>{}} tooltipComponent={TooltipComponent} tooltipStyle={tooltipStyles.container} verticalOffset={StatusBar.currentHeight} backdropColor="rgba(0, 0, 0, 0.6)" svgMaskPath={roundedRectangleSvgPath} >
<Routes />
</CopilotProvider>
);
}
export default App;
const roundedRectangleSvgPath = ({ position, canvasSize, size, step }) => {
const br = step?.name === 'step1' ? 0 : 20; // border radius
const sizeX = size.x._value - 2 * br;
const sizeY = size.y._value - 2 * br;
return `M 0 0 H ${canvasSize.x} V ${canvasSize.y} H 0 V 0 Z M ${position.x._value+br} ${position.y._value} Z h ${sizeX} a ${br} ${br} 0 0 1 ${br} ${br} v ${sizeY} a ${br} ${br} 0 0 1 -${br} ${br} h -${sizeX} a ${br} ${br} 0 0 1 -${br} -${br} v -${sizeY} a ${br} ${br} 0 0 1 ${br} -${br} z`;
}
Expected behavior/code
I should not see this 1px missing overlay
Environment
- Device: andoird (no issue on iOS)
- OS: Android API 34
react-native-copilot: 3.3.2 and 3.3.3react-native: 0.75.2react-native-svg: 15.8.0 and 15.11.1
Possible Solution
With overlay="view" I do not have this issue but the svgMaskPath is not working
Additional context/Screenshots
- Lenguaje dominante
- TypeScript
- Estrellas
- 2.4k
- Forks
- 425
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Preparar el entorno
- Sin Dockerfile ni archivo de Docker Compose
- Sin plantilla de pull request
- Leer la 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 mohebifar/react-native-copilot
-
Dificultad 3/5 1-2 días Aptitud para principiantes 72/100
mohebifar/react-native-copilot#354 · 1 comentario ·
-
Dificultad 3/5 1-2 días Aptitud para principiantes 55/100
mohebifar/react-native-copilot#351 · 1 comentario · 1 reacción ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
-
Dificultad 4/5 3-5 días Aptitud para principiantes 35/100
mohebifar/react-native-copilot#349 · 11 comentarios ·
-
Dificultad 4/5 3-5 días Aptitud para principiantes 15/100
mohebifar/react-native-copilot#348 · 2 comentarios ·
Todos los issues de mohebifar/react-native-copilot
Issues similares
-
Resources: New templates of Beijing SubwayPosiblemente ocupada @rmt-svc la tomó hoy. Abiertoresources
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
railmapgen/rmg-templates#2726 ·
Los mantenedores suelen responder en 1 día
-
needs triage
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
homarr-labs/homarr#7729 ·
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 65/100
Buzzpy/Dev-Encyclopedia#218 ·
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
Los mantenedores suelen responder en 1 día
-
prio:low status:done type:content
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
davidsneighbour/samui-samui.de#1925 ·