title: Nested FlatList not scrolling / ScrollToIndex on FlatList not working
body: <p>I asked a different question similar to this earlier in the week and I made more progress so just closing the previous and starting this one as I can't find a solution to this one either.</p>
  
  <p><code>this._scrollRef.scrollTo is not a function
      at VirtualizedList.scrollToIndex</code></p>
  
  <p>Here is the code.</p>
  
  <pre><code>&lt;AnimatedFlatList
      ref={ (node) =&gt; { this._listRef = node; } }
                  style={[styles.picker, styles.scroll, pickerStyle]}
                  data={data}
                  renderItem={this.renderItems}
                  getItemLayout={(_, index) =&gt; (
                    { length: 24, offset: 24 * index, index }
                  )}
                  initialNumToRender={5}
                  // scrollEnabled={visibleItemCount &lt; itemCount}
                  contentContainerStyle={styles.scrollContainer}
                  scrollEventThrottle={2000}
                  keyExtractor={(item) =&gt; item.value}
                  automaticallyAdjustContentInsets={false}
                  removeClippedSubviews={false}
                  indicatorStyle="white"
                /&gt;
  </code></pre>
  
  <p>At this point I'm just unsure why calling <code>this._listRef.getNode().scrollToIndex(...params)</code> is not working.</p>