Skip to content
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

On FlatList does not appears on exact point #102

Open
gauravsbagul opened this issue Jan 15, 2021 · 5 comments
Open

On FlatList does not appears on exact point #102

gauravsbagul opened this issue Jan 15, 2021 · 5 comments

Comments

@gauravsbagul
Copy link

Hey guys I am trying to open Menu on more options on my list of cards on FlatList.
But the menu is appearing on the left side of the card and not beside the more icon.
Can you please help me with this?

Screenshot 2021-01-15 at 12 46 48 PM

@rajkhan91
Copy link

Hey guys I am trying to open Menu on more options on my list of cards on FlatList.
But the menu is appearing on the left side of the card and not beside the more icon.
Can you please help me with this?

Screenshot 2021-01-15 at 12 46 48 PM

I am facing same issue have you find any solution ?

@gauravsbagul
Copy link
Author

@rajkhan91 hi, I have used transform to move the menu options to the right. or you can also use Menu from 'react-native-paper'

@rajkhan91
Copy link

@gauravsbagul use Animated.FlatList instead of FlatList than this problem is solved, there is no need to write any css.

@nilofardiwangroovy
Copy link

You can use map method instead of the Flatlist as well also if you are use flat list then render new component under the flatlist renderItem and into this component create new only card or view component and pass Flatlist item in the renderItem component and into there pass this props in only view component and problem has been solved!

@pavelustenko
Copy link

@nilofardiwangroovy Could you share a minimal code example for flatlist solution, please?

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

4 participants