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

205
Views
CSS styles do not apply consistently on Android devices

I have some sort of a accordion menu

   <div class="grid-item-1">
      <div class="title">Category title 1</div>
      <a class="option1">Item 1</a>
      <a class="option2">Item 2</a>
   </div>
   <div class="grid-item-2">
      <div class="title">Category title 2</div>
      <a class="option1">Item 1</a>
      <a class="option2">Item 2</a>
   </div>

So basically how this works is that both Category title 1 and Category title 2 are visible and Item 1 and Item 2 both have style

display: none

applied. When I click on Category title 1 js applies .active on

<div class="title">Category title 1</div>

which applies display:none on it. I also have a style

.grid-item-1.title.active a{
    display: block;
}

and the problem is that on an emulator everything works fine, but on an actual Android device this options do not appear consistently, sometimes the style is applied and sometimes it don't and I can't find the source of this problem. Has anyone experienced the same problems and is there any solution to it?

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!