Skip to content

Adding Horizontal prop to InfiniteScroll not working #10

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
akshaylazarus opened this issue Feb 18, 2021 · 0 comments
Open

Adding Horizontal prop to InfiniteScroll not working #10

akshaylazarus opened this issue Feb 18, 2021 · 0 comments

Comments

@akshaylazarus
Copy link

Not able to scroll horizontally when horizontal is set to true.
<InfiniteScroll data={[ { key: "a1" }, { key: "a2" }, { key: "a3" }, { key: "a4" }, { key: "a5" }, { key: "a6" }, { key: "a7" }, ]} renderItem={({ item, index }) => ( <View style={{ width: 50 }}> <Text>{item.key}</Text> </View> )} keyExtractor={(item, index) => item.key + index} horizontal showsHorizontalScrollIndicator={false} legacyImplementation={false} />

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant