Open beqramo opened 4 years ago
I have a Touchable inside a rn-sliding-up-panel and when I start dragging from any Touchable it don't do anything,
rn-sliding-up-panel
<SlidingUpPanel ref={_panel} draggableRange={{ bottom:140, top:300}} friction={0.5} > <View style={styles.panelView}> <TouchableOpacity onPress={onPress} hitSlop={{ top: 15, bottom: 15, left: 15, right: 15 }} style={[styles.touchableStyle]} > <Text style={[styles.textStyle, textStyle]} >press</Text> </TouchableOpacity> </View> </SlidingUpPanel>
System: OS: macOS Mojave 10.14.6 CPU: (4) x64 Intel(R) Core(TM) i5-7360U CPU @ 2.30GHz Memory: 20.98 MB / 8.00 GB Shell: 5.3 - /bin/zsh Binaries: Node: 12.11.1 - /usr/local/bin/node Yarn: 1.19.0 - /usr/local/bin/yarn npm: 6.11.3 - /usr/local/bin/npm Watchman: 4.9.0 - /usr/local/bin/watchman SDKs: iOS SDK: Platforms: iOS 13.0, DriverKit 19.0, macOS 10.15, tvOS 13.0, watchOS 6.0 Android SDK: API Levels: 23, 26, 27, 28, 29 Build Tools: 28.0.3, 29.0.0, 29.0.2 System Images: android-29 | Google APIs Intel x86 Atom IDEs: Android Studio: 3.5 AI-191.8026.42.35.5791312 Xcode: 11.0/11A420a - /usr/bin/xcodebuild npmPackages: react: 16.9.0 => 16.9.0 react-native: 0.61.5 => 0.61.5
Issue Description
I have a Touchable inside a
rn-sliding-up-panel
and when I start dragging from any Touchable it don't do anything,Steps to Reproduce / Code Snippets / Screenshots
Environment
System: OS: macOS Mojave 10.14.6 CPU: (4) x64 Intel(R) Core(TM) i5-7360U CPU @ 2.30GHz Memory: 20.98 MB / 8.00 GB Shell: 5.3 - /bin/zsh Binaries: Node: 12.11.1 - /usr/local/bin/node Yarn: 1.19.0 - /usr/local/bin/yarn npm: 6.11.3 - /usr/local/bin/npm Watchman: 4.9.0 - /usr/local/bin/watchman SDKs: iOS SDK: Platforms: iOS 13.0, DriverKit 19.0, macOS 10.15, tvOS 13.0, watchOS 6.0 Android SDK: API Levels: 23, 26, 27, 28, 29 Build Tools: 28.0.3, 29.0.0, 29.0.2 System Images: android-29 | Google APIs Intel x86 Atom IDEs: Android Studio: 3.5 AI-191.8026.42.35.5791312 Xcode: 11.0/11A420a - /usr/bin/xcodebuild npmPackages: react: 16.9.0 => 16.9.0 react-native: 0.61.5 => 0.61.5