Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Scrolling list nested within draggable panel #192

Open
richmwatts opened this issue Nov 12, 2020 · 2 comments
Open

Scrolling list nested within draggable panel #192

richmwatts opened this issue Nov 12, 2020 · 2 comments

Comments

@richmwatts
Copy link

richmwatts commented Nov 12, 2020

Issue Description

Nesting a scrolling list within the draggable panel appears to be giving me issues.

i.e. sometimes when I attempt to scroll the list nested within the draggable panel the panel will start dragging.

Just a quick question really to see if this is actually a limitation of the component or whether it should be possible to get these things to work together?


Environment

  • Version: 2.4.3
  • React Native version: 0.63.2
  • Platform(s) (iOS, Android, or both?): Android
  • Device info (Simulator/Device? OS version? Debug/Release?): Pixel 5, Android 11
@kathawala
Copy link

kathawala commented Jan 3, 2021

@richmwatts

This can work. I had to also nest a ScrollView inside this component and I documented my way of making this work pretty seamlessly. Hope it helps you: https://www.farhansayshi.com/post/sliding-up-panel-in-react-native/

@dlewis2017
Copy link

dlewis2017 commented Apr 19, 2021

@richmwatts

This can work. I had to also nest a ScrollView inside this component and I documented my way of making this work pretty seamlessly. Hope it helps you: https://www.farhansayshi.com/post/sliding-up-panel-in-react-native/

Worked for me ^ Thanks! Although I had to change the Hooks implementation to the class equivalent with setState, and the solution does somewhat break when trying to use the accessibility larger text feature on iOS

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants