FlatList `measureLayoutRelativeToContainingList` error
See original GitHub issueI’m working on RN0.60+. Seems that something changed in react-native/Libraries/Lists/VirtualizedList.js and therefore this error shows up. This happens when:
import { FlatList as RNFlatList } from 'react-native';
import { FlatList } from 'react-native-gesture-handler';
<RNFlatList
renderScrollComponent={(props) => <ScrollView {...props} />}
/>
// OR
<FlatList />
I’m getting
undefined is not a function (near '...this._scrollRef.measureLayout...')
RNGH version: 1.3.0, I’m using a clone even with this repo.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:17
- Comments:17 (2 by maintainers)
Top Results From Across the Web
What is the error when executing a FLATLIST? - Stack Overflow
List was just a regular React Native View with some small margin styles. It wasn't actually needed to use the ListItem component. Instead...
Read more >React Native Flatlist Render Error VirtualizedList - Expo Forums
I am using flatlist to render post having video and text and i am getting following error:- Each item of the list consists...
Read more >Web.VirtualListVsRN.VirtualList - Diff Checker
`FlatList` provides, e.g. for use with immutable data instead of plain arrays. ... suppresses an error found when Flow v0.111 was deployed. To....
Read more >https://ewserver.di.unimi.it/gitlab/public_accessi...
publicModule.exports=void 0,r}}function m(r,e){return Error('Requiring module ... DrawerLayoutAndroid(){return r(d[7])},get FlatList(){return r(d[8])},get ...
Read more >react-native-web@0.17.1 - Bundle Scanner
isArray(e),"FlatList: Encountered internal consistency error, expected each ... measureLayoutRelativeToContainingList=function(){var e=this;try{if(!this.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
import FlatList from ‘react-native’
Any update on this? happening after RN0.60+ update.