octopitus / rn-sliding-up-panel

Draggable sliding up panel implemented in React Native https://octopitus.github.io/rn-sliding-up-panel/
MIT License
929 stars 157 forks source link

Scrolling list nested within draggable panel #192

Open richmwatts opened 3 years ago

richmwatts commented 3 years ago

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

kathawala commented 3 years ago

@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 commented 3 years ago

@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