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

166
Views
Why does List.Accordion get highlighted in white when being selected on IOS?

I'm currently using the List.Accordion component by react native paper and when being selected on IOS the entire List.Accordion component gets highlighted in white but on Android it instead gets highlighted with a dark shade and I'm not sure why. Could someone help?

Here is the current code for the component:

    <List.Accordion
        title='Advanced Options'
        titleStyle={{ color: 'white', fontSize: 19, fontWeight: 'bold' }} 
        onPress={() => {
            setTimeout(() => {
                scrollViewRef.current.scrollToEnd({ animated: true });
            }, 50);
        }}
        theme={{ colors: { text: 'white'} }}
        style={{ backgroundColor: Colors.theme, paddingHorizontal: 12 }}
    >

The List.Accordion component is currently styled with a dark blue background (making the white highlight quite obvious) and the onPress is in no way changing the style of the component, simply just scrolling the screen downwards to reveal the List items.

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

I think you can use text-decoration style property to customize it.

about 4 years ago · Juan Pablo Isaza Report
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!