react-swipeable-bottom-sheet icon indicating copy to clipboard operation
react-swipeable-bottom-sheet copied to clipboard

Cannot scroll up on iPhones

Open mechaadi opened this issue 3 years ago • 16 comments

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 avatar Mar 27 '21 08:03 mechaadi

Here's a video.

https://drive.google.com/file/d/1d-DDUK5QcQgrTe8Ma5aR3tZqp5IG6ejJ/view?usp=sharing

mechaadi avatar Mar 27 '21 08:03 mechaadi

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

YuriyBC avatar Apr 15 '21 10:04 YuriyBC

@YuriyBC Hey, nope. No luck 😕

mechaadi avatar Apr 26 '21 13:04 mechaadi

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?

mankee10200 avatar May 13 '21 22:05 mankee10200

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

YuriyBC avatar May 14 '21 18:05 YuriyBC

Do you have any code snippet on how you achieved that?

On May 14, 2021 at 7:12 pm, <YuriyBC @.***)> wrote:

@mankee10200 (https://github.com/mankee10200), i managed to succeed with using only react-swipeable-views lib. You can try it directly

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub (https://github.com/manufont/react-swipeable-bottom-sheet/issues/21#issuecomment-841415864), or unsubscribe (https://github.com/notifications/unsubscribe-auth/AGKMIWENELC5BAJGRHCPJDLTNVRYDANCNFSM4Z4VUQUA).

mankee10200 avatar May 14 '21 18:05 mankee10200

Did you manage to solve the problem?

Roman-Gulamov avatar Jul 23 '21 01:07 Roman-Gulamov

anyone have solution for this ?

gurupal avatar Sep 09 '21 13:09 gurupal

Try to define in css:

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

Svyatozar avatar Nov 05 '21 16:11 Svyatozar

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. 😥

oukunanan avatar Jan 12 '22 08:01 oukunanan

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

mhasan320 avatar Apr 24 '22 07:04 mhasan320

Any update regarding this issue

ShailzaSondhi2022 avatar Jul 13 '22 12:07 ShailzaSondhi2022

Any update regarding this issue

bini-man avatar Sep 15 '22 13:09 bini-man

@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

Nandan-Reddy avatar Jan 30 '23 17:01 Nandan-Reddy

@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.

bini-man avatar Jan 30 '23 19:01 bini-man

@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?

Nandan-Reddy avatar Jan 31 '23 22:01 Nandan-Reddy