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

169
Vistas
Image does not load in Android Apps

I have an image that is passed inside a div and that works like a button that opens and closes a component. I'm facing a bug where the image (arrow) doesn't load in Android apps. It works 100% for the Web. I need the image to be loaded in the Android Aplication and on the Web. faulty (Android App) broked

flawless (web) flawless (web)

Jsx:

const [arrow, setArrow] = useState(isCollapsed);
  const [arrowStyle, setArrowStyle] = useState();

  const handleArrowClick = () => {
    openHistoryTable();
    setArrow(!isCollapsed);
  };


useEffect(() => {
      arrow ? setArrowStyle('expanded') : setArrowStyle('arrow');
    }, [arrow]);



<div
       onClick={() => handleArrowClick()}
       className={`${styles['arrow']} ${ styles[arrowStyle] }`}
  />

CSS:

arrow {
        position: absolute;
        width: 12px;
        height: 20px;
        background-image: url(../icons/gray-arrow.svg);
        background-size: contain;
        background-repeat: no-repeat;
        transform: rotate(90deg);
        top: 27px;
        right: 40px;
        transition: all 0.2s ease;

        @include media-below($mobile-max) {
          right: 25px;
        }

        &:hover {
          cursor: pointer;
        }

        &.expanded {
          transform: rotateZ(270deg);
        }
      }
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