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

Cannot scroll up on iPhones #21

Open
mechaadi opened this issue Mar 27, 2021 · 17 comments
Open

Cannot scroll up on iPhones #21

mechaadi opened this issue Mar 27, 2021 · 17 comments

Comments

@mechaadi
Copy link

mechaadi commented Mar 27, 2021

Having this strange issue on iphones, the same code works fine on android and desktop but it breaks when it comes to iOS.

Whenever I scroll down then lift my finger off the screen and try to scroll up again, it doesn't work. But when I scroll down and scroll up without lifting my finger, it works. This only happens on iOS devices, I have tested it both on safari and chrome, same results.

Tried my best to solve it but seems like I am missing something in here, any help is appreciated.

Thanks in advance. :)

@mechaadi
Copy link
Author

@YuriyBC
Copy link

YuriyBC commented Apr 15, 2021

@mechaadi, hi, did you manage to fix it?

@mechaadi
Copy link
Author

@YuriyBC Hey, nope. No luck 😕

@mankee10200
Copy link

Any luck - experiencing the exact same issue...my guess is the swipe event is being intercepted by the bottom sheet and doesn't reach the child component?

@YuriyBC
Copy link

YuriyBC commented May 14, 2021

@mankee10200, i managed to succeed with using only react-swipeable-views lib. You can try it directly

@mankee10200
Copy link

mankee10200 commented May 14, 2021 via email

@Roman-Gulamov
Copy link

Did you manage to solve the problem?

@gurupal
Copy link

gurupal commented Sep 9, 2021

anyone have solution for this ?

@Svyatozar
Copy link

Try to define in css:

.ReactSwipeableBottomSheet--closed,
.ReactSwipeableBottomSheet--open {
overflow: hidden !important;
}

@oukunanan
Copy link

Try to define in css:

.ReactSwipeableBottomSheet--closed, .ReactSwipeableBottomSheet--open { overflow: hidden !important; }

I tried this and fixed scroll up but introduce cannot scroll down on the IOS issue. 😥

@mhasan320
Copy link

Anyone can solved this issue. I am also facing this problem, try to solved it but can't fix this.

@ShailzaSondhi2022
Copy link

Any update regarding this issue

1 similar comment
@bini-man
Copy link

Any update regarding this issue

@Nandan-Reddy
Copy link

@YuriyBC I am facing the same issue rn. It would be greate if you can share the code of how you solved using only react-swipeable-views lib

@bini-man
Copy link

@Nandan-Reddy I faced this issue but am not able to fix it so I replace this Library with https://www.npmjs.com/package/react-spring-bottom-sheet it has the same functionality.

@Nandan-Reddy
Copy link

@bini-man can you please share the code of how you made the bottom swipeable drawer with https://www.npmjs.com/package/react-spring-bottom-sheet?

@leo-web3
Copy link

Try to define in css:

.ReactSwipeableBottomSheet--closed, .ReactSwipeableBottomSheet--open { overflow: hidden !important; }

This solution can solve the problem that you cannot scroll up after scrolling down to the bottom, but it will also cause another problem. As long as you scroll to the bottom and swipe up again, the entire component will be collapsed. This problem needs to be solved.

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