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

176
Vistas
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 Respuestas
Responde la pregunta

0

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

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