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

Does not work on react native map (Android Only) #80

Open
vrinch opened this issue Feb 22, 2021 · 8 comments
Open

Does not work on react native map (Android Only) #80

vrinch opened this issue Feb 22, 2021 · 8 comments

Comments

@vrinch
Copy link

vrinch commented Feb 22, 2021

Great work, been looking for this for a while
The package works as should on iOS and android
However, while placing it on top of a react native map, it pans the map and doesn't recognise any button or even open large
This happens on just android

@enesozturk
Copy link
Owner

Hi @vrinch, thanks for using rn-swipeable-panel. What do you mean "it pans the map" and the buttons are in the panel or not?

@vrinch
Copy link
Author

vrinch commented Feb 22, 2021

hello @enesozturk
Thanks for the prompt response
the buttons are on the panel and they work as should when placed on top of an absolute positioned react native map on iOS, but not on android.

for instance, on android when the panel is open on a react native map, then pan gesture does not work to open large or close the panel.
when the panel is double tapped, it zooms into the map

@enesozturk
Copy link
Owner

I see, and when you use allowTouchOutside you see #42 right? If you can try this solution and share the results with me that would be great feedback.

Looks like I needed to publish new release with fix and that will take time. If you use Reanimated in your application I highly suggest bottom-sheet for now.

@vrinch
Copy link
Author

vrinch commented Feb 22, 2021

I see, and when you use allowTouchOutside you see #42 right? If you can try this solution and share the results with me that would be great feedback.

Looks like I needed to publish new release with fix and that will take time. If you use Reanimated in your application I highly suggest bottom-sheet for now.

@enesozturk yes, the person describes the same problem I am facing
however, I do not know how to go about that implementation
can you kindly point me in the right direction

@enesozturk
Copy link
Owner

Looks like he removed ScrollView from the panel. In your node_modules, find rn-swipeable-panel and open Panel.tsx, you can convert ScrollView to View, I need to check more to understand any other changes made. For now you can try that and if it is not work, as I told I need time to fix this. You can consider other bottom sheets for your app

@zanda85
Copy link

zanda85 commented Apr 13, 2021

I have the same problem.

@Gabsys
Copy link

Gabsys commented Jul 7, 2021

Up. This problem still persists

@Anujan1993
Copy link

I am also facing some issues

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

5 participants