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

MenuItems scrollview bug #4

Open
Chi20 opened this issue May 22, 2022 · 3 comments
Open

MenuItems scrollview bug #4

Chi20 opened this issue May 22, 2022 · 3 comments

Comments

@Chi20
Copy link

Chi20 commented May 22, 2022

when i run this project in my android emulator,view can't be scrolled and show other items.the viewcart button also not appear.
I wonder this may be caused by react-native version or food images component?
As i comment the food image,at least viewcart button will appear,but still can not scroll up and down.(see figure)
1

@richujain
Copy link

I had the scrolling problem in my iOS device too. What helped me to get over it was to add this style to the ScrollView. I know its not the right way to do it. But I just want to go ahead with the project. This helped me to solve the problems with the ScrollView and ViewCart button.
<ScrollView showsVerticalScrollIndicator={false} style={{
flex: 1,
paddingBottom: 500,
}}
>

@tefol-hub
Copy link

when i run this project in my android emulator,view can't be scrolled and show other items.the viewcart button also not appear. I wonder this may be caused by react-native version or food images component? As i comment the food image,at least viewcart button will appear,but still can not scroll up and down.(see figure) 1

@tefol-hub
Copy link

tefol-hub commented Nov 8, 2022

This reply might be a bit late but in any case, I also faced the exact same problem and it turns out that the reason I couldn't scroll the screen was because the outer View of menu items was obstructing the Menu Items Scroll-View, so I had to adjust it's height and width.

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

3 participants