hyochan / react-native-masonry-list

The Masonry List implementation which has similar implementation as the `FlatList` in React Native
MIT License
399 stars 55 forks source link

No output on Expo managed project, yet perfect output on the web. #57

Open harshjadon9 opened 1 year ago

harshjadon9 commented 1 year ago

I am trying to make a very basic masonry list, but unable to generate any output. But when I run the expo project on my laptop browser, I m able to see the output. Please check the screenshots. I guess I am missing some dependency or something.

Code:

import MasonryList from "@react-native-seoul/masonry-list";
...
      <Text>-Start-</Text>
      <MasonryList
        data={["dummy1", "dummy2", "dummy3", "dummy4"]}
        renderItem={() => <Text>hi</Text>}
      />
      <Text>-End-</Text>
...

Screenshots

on Web (laptop, via expo)

Screenshot 2023-06-10 at 3 30 32 AM



on Android ( Expo Go )

Screenshot 2023-06-10 at 3 30 32 AM




version "@react-native-seoul/masonry-list": "^1.4.2"



hyochan commented 1 year ago

Could you share the full demo in one file so I can test quickly? Please try to make runnable example in one file like Sample.tsx.

haseebkh008 commented 1 year ago

Ya same Problem WIth me when i change something in the flatlist and save the project list shown but when i reload the project it didn't shown i try everything but not working