Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

160
Views
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
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!