Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

163
Visualizações
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 à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda