Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

218
Vistas
SVG Circle wont center in viewBox ract native

I have two SVG circle elements, one nested inside the other. The outermost circle (orange ) seems to not have any padding and overlaps with the border of the viewBox.

How can I position the circles inside the viewBox so that there is no overlap and the circle is not cut off?

Orange Circle is being cut off

<View style={{ alignContent: "center", alignSelf: "center" }}>
     
      <Svg
        height="250"
        width="250"
        viewBox="0 0 100 100"
        style={{ zIndex: 1, borderWidth: 1 }}
      >
        {/* OUTTER ORANGE CIRCLE */}
        <Circle
          stroke="#FF8540"
          fill="none"
          cx="50"
          cy="50"
          r={radius}
          strokeWidth="3"
          transform={`rotate(52.5 ${"50"} ${"50"})`}
          strokeDasharray={[dash, circumference - dash]}
          strokeLinecap="round"
          style={{ transition: "all 0.5s" }}
        />
        {/* INNER TEAL CIRCLE */}
        <Circle
          stroke="#1AA39B"
          fill="none"
          cx="50"
          cy="50"
          r={radius * 0.8}
          strokeWidth="3"
          transform={`rotate(-152.5 ${"50"} ${"50"})`}
          strokeDasharray={[dash, circumference - dash]}
          strokeLinecap="round"
          style={{ transition: "all 0.5s" }}
        />
      </Svg>
     
    </View>
about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda