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

220
Visualizações
Flat List Not Scrolling in TabView (React Native Elements)

I am using the React-Native-Elements Library to create tabs. Under the TabView, I have a FlatList, the list appears but it is not able to scroll, I have tried implementing flex: 1 as well as wrapping the FlatList in a ScrollView. The code is below shows the TabView along with the rendering of the TabView.Item, View and FlatList.

<TabView value={this.state.index} onChange={this.handleChange}>
          <TabView.Item style={{width: deviceWidth}}>
            <View style={{flex: 1}}>
              <Text style={styles.text}> Blockchain News </Text>
              <FlatList
                // eslint-disable-next-line react-native/no-inline-styles
                style={styles.bgColor}
                data={this.state.articles}
                renderItem={({item}) => <DataItem article={item} />}
                keyExtractor={item => item.url}
                refreshing={this.state.refreshing}
                onRefresh={this.handleRefresh.bind(this)}
              />
            </View>
          </TabView.Item>
about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

I came across similar issue, try making the DataItem element with TouchableOpacity rather with normal view. This worked for me

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