Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

flatlist scrolltoend

const flatListRef = React.useRef(null)
<FlatList
        ref={flatListRef}
        onContentSizeChange={() => {
            flatListRef.current.scrollToEnd();
        }}
/>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #flatlist #scrolltoend
ADD COMMENT
Topic
Name
1+6 =