React Native Flatlist inside Scrollview

Overview

react-native-virtualized-view

When Flatlist inside Scrollview, will have a warning:

virtualizedlists should never be nested inside plain scrollviews with the same orientation because it can break windowing and other functionality - use another virtualizedlist-backed container instead.

react-native-virtualized-view will resolve this problem.

Getting started

    npm install react-native-virtualized-view --save

or

    yarn add react-native-virtualized-view

Usage

  import { FlatList } from 'react-native';
  import { ScrollView } from 'react-native-virtualized-view';

  return (
    <ScrollView>
      <FlatList />
      <FlatList />
    </ScrollView>
  ) 
You might also like...
🤯 React Native Animated Header with ScrollView
🤯 React Native Animated Header with ScrollView

React Native ScrollView Animated Header React Native Animated Header App with ScrollView Animated header is the most common design pattern in today’s

React-native Perfect TextInput ScrollView
React-native Perfect TextInput ScrollView

react-native-input-scroll-view Mainly to achieve the following functions: When the keyboard pops up, the TextInput will automatically adjust to the to

A Cross Platform(Android & iOS) ActionSheet with a flexible api, native performance and zero dependency code for react native. Create anything you want inside ActionSheet.
A Cross Platform(Android & iOS) ActionSheet with a flexible api, native performance and zero dependency code for react native. Create anything you want inside ActionSheet.

react-native-actions-sheet A highly customizable cross platform ActionSheet for react native. Screenshots Features Cross Platform (iOS and Android) Na

Tabbed navigation that you can swipe between, each tab can have its own ScrollView and maintain its own scroll position between swipes. Pleasantly animated. Customizable tab bar

react-native-scrollable-tab-view This is probably my favorite navigation pattern on Android, I wish it were more common on iOS! This is a very simple

A ScrollView-like component with parallax and sticky header support.
A ScrollView-like component with parallax and sticky header support.

Rodrigocs - Animated Driver This component now uses Native Driver by default. Remember to pass a Animated component to renderScrollComponent, by defau

ScrollView with an image in header which becomes a navbar
ScrollView with an image in header which becomes a navbar

react-native-image-header-scroll-view A ScrollView-like component that: Has a fixed image header Keep the image as a nav bar Works on iOS and Android

A Smart ScrollView component for IOS and Android
A Smart ScrollView component for IOS and Android

React Native Scrollview Smart A smart iOS and Android scrollview for React Native INSTALLATION npm i react-native-scrollview-smart --save Android in y

ScrollView with infinte paged scrolling (no looping). The number of pages rendered before and after current page can be customized. Pages are rendered when user scrolled.
ScrollView with infinte paged scrolling (no looping). The number of pages rendered before and after current page can be customized. Pages are rendered when user scrolled.

react-native-infinite-scrollview ScrollView with infinte paged scrolling (no looping). The number of pages rendered before and after current page can

react-native-app-intro is a react native component implementing a parallax effect welcome page using base on react-native-swiper , similar to the one found in Google's app like Sheet, Drive, Docs...
react-native-app-intro is a react native component implementing a parallax effect welcome page using base on react-native-swiper , similar to the one found in Google's app like Sheet, Drive, Docs...

react-native-app-intro react-native-app-intro is a react native component implementing a parallax effect welcome page using base on react-native-swipe

Comments
  • Issue with textInput

    Issue with textInput

    <ScrollView automaticallyAdjustContentInsets={true} keyboardShouldPersistTaps="handled" keyboardDismissMode="none"> <TextInput placeholder="Comments" multiline={true} value={TextValue} onChangeText={value => setTextValue(value)} />

    inside ScrollView is not working it just get closed on every tap on the keyboard i have tried different approaches but failed to get the inputs... automaticallyAdjustContentInsets={true} keyboardShouldPersistTaps="handled" keyboardDismissMode="none"

    opened by wHat0 4
  • Not working for nested scrollView

    Not working for nested scrollView

    import { ScrollView } from 'react-native-virtualized-view'; import React from 'react';

    return ( <View style={{ flex: 1, backgroundColor: COLORS.thimColor }}>

            <ScrollView>
                <Text style={{
                    color: '#000000',
                    fontSize: 16, marginTop: 20, marginLeft: 10
                }}> SHG</Text>
    
                <View style={styles.card}>
    
    
                    {/**FilterBox */}
    
                    <View style={{
                        width: '100%',
                        height: 50,
                        backgroundColor: 'red',
                        paddingHorizontal: 10
                    }}>
    
    
                        <Text style={{
                            color: '#000000', fontSize: 16,
                            marginVertical: 7
                        }}> Filter By Branch</Text>
                    </View>
    
    
                    {/**Table with search Container */}
                    <View>
                        <ScrollView
    
                            style={styles.tableBox}
                        >
    
                            <View style={{ flexDirection: 'row' }}>
                                <ButtonView
                                    name='Copy'
                                />
                            </View>
                        </ScrollView>
    
                    </View>
    
                </View>
            </ScrollView>
        </View>
    

    {/* error is like: VirtualizedLists should never be nested inside plain ScrollViews with the same orientation because it can break windowing and other functionality - use another VirtualizedList-backed container instead. */}

    opened by suman889 0
Owner
Hoà Phan
Hoà Phan
Animated Flatlist for React-Native

React Native Animated Flatlist Animated Flatlist for React-Native View demo on Snack Install npm i -S react-native-animated-flatlist or yarn add react

vo[bi] - Decentralized software crafters. 56 Jul 21, 2022
This is a high performance list view for React Native with support for complex layouts using a similar FlatList usage to make easy the replacement

This is a high performance list view for React Native with support for complex layouts using a similar FlatList usage to make easy the replacement. This list implementation for big list rendering on React Native works with a recycler focused on performance and memory usage and so it permits processing thousands items on the list.

Marco Cesarato 415 Sep 30, 2022
react-native-rebound-scrollview ★12 - React Native Android ReboundScrollView implementation.

React Native ReboundScrollView support android rebound ScrollView, compatible ios -- use react scrollview Usage ##Android In android/setting.gradle ..

null 13 Mar 18, 2022
☑️ A customiseable FlatList that allows you to select multiple rows

react-native-select-multiple A customiseable FlatList that allows you to select multiple rows. Install npm install react-native-select-multiple Usage

TABLEFLIP 156 Sep 19, 2022
An invertible ScrollView for React Native

InvertibleScrollView InvertibleScrollView is a React Native scroll view that can be inverted so that content is rendered starting from the bottom, and

Expo 456 Sep 23, 2022
React Native scrollview/listview component with image lazyload feature

React Native scrollview lazyload ScrollView with image/components lazyload feature. Support all ScrollView feature. Detect ScrollView by 'renderRow' a

Isken Huang 74 Oct 16, 2020
React Native Library to detect children that are focused on ScrollView.

react-native-focus-scroll react-native-focus-scroll can detect which children are focused when scrolling. Installation $ npm i react-native-focus-scro

Masashi Shibata 37 Sep 26, 2022
An Animated ScrollView Header for React Native

React Native ScrollView Header Animated ScrollView Header for React Native Installation $ npm install react-native-scrollview-header or $ yarn add rea

wf 12 Dec 9, 2021
Quick React Native component for a full screen ScrollView

pagescrollview Very simple React Native / Expo ScrollView component that fills all the available area and have a working scrolling. It fixes some very

Henrique Bruno Fantauzzi de Almeida 20 Aug 15, 2022
Provides a React Native context that makes it easier to manipulate the scroll offset of a ScrollView in the app

Provides a React Native context that makes it easier to manipulate the scroll offset of a ScrollView in the app. This is mostly intended for when you have a single root ScrollView. This lets deeply nested children know the offset of the ScrollView and lets them change the root ScrollView's offset via a function without passing down props through many levels of children.

Maya Saringan 1 Oct 24, 2021