-
Notifications
You must be signed in to change notification settings - Fork 25k
Closed
Labels
Component: ScrollViewNeeds: Author FeedbackNeeds: ReproThis issue could be improved with a clear list of steps to reproduce the issue.This issue could be improved with a clear list of steps to reproduce the issue.Type: Too Old Version
Description
Description
Scrollview is not scrolling in side modal with pressables
Steps to reproduce
put a scrollview with render list item in pressables with stop propagation
<Pressable
onPress={onClose}
>
<Pressable
onPress={(e) => e.stopPropagation()}
>
<ScrollView
style={styles(theme).scrollView}
contentContainerStyle={styles(theme).scrollContent}
showsVerticalScrollIndicator={false}
nestedScrollEnabled={true}
keyboardShouldPersistTaps="handled"
>
{pointsInstructions.map((instruction, index) => (
<View key={index} style={styles(theme).listItem}>
<CustomText
variant="body1"
fontWeight="semiBold"
style={styles(theme).numberText}
>
{index + 1}.
</CustomText>
<CustomText
variant="body1"
style={styles(theme).instructionText}
>
{instruction}
</CustomText>
</View>
))}
</ScrollView>
</Pressable>
</Pressable>
React Native Version
0.77.1
Affected Platforms
Runtime - Android, Runtime - iOS
Output of npx @react-native-community/cli info
System:
OS: macOS 15.6.1
CPU: (8) arm64 Apple M2
Memory: 130.69 MB / 8.00 GB
Shell:
version: "5.9"
path: /bin/zsh
Binaries:
Node:
version: 22.12.0
path: /Users/harshpal/.nvm/versions/node/v22.12.0/bin/node
Yarn:
version: 1.22.21
path: /opt/homebrew/bin/yarn
npm:
version: 11.6.4
path: /Users/harshpal/Personal-Work/React-native/SimplicityLabs/payAiro-app/node_modules/.bin/npm
Watchman:
version: 2025.04.28.00
path: /opt/homebrew/bin/watchman
Managers:
CocoaPods:
version: 1.16.2
path: /Users/harshpal/.rvm/gems/ruby-2.7.5/bin/pod
SDKs:
iOS SDK:
Platforms:
- DriverKit 24.2
- iOS 18.2
- macOS 15.2
- tvOS 18.2
- visionOS 2.2
- watchOS 11.2
Android SDK: Not Found
IDEs:
Android Studio: 2024.2 AI-242.23339.11.2421.12550806
Xcode:
version: 16.2/16C5032a
path: /usr/bin/xcodebuild
Languages:
Java:
version: 17.0.13
path: /usr/bin/javac
Ruby:
version: 2.7.5
path: /Users/harshpal/.rvm/rubies/ruby-2.7.5/bin/ruby
npmPackages:
"@react-native-community/cli":
installed: 16.0.0
wanted: 16.0.0
react:
installed: 18.3.1
wanted: 18.3.1
react-native:
installed: 0.77.1
wanted: 0.77.1
react-native-macos: Not Found
npmGlobalPackages:
"*react-native*": Not Found
Android:
hermesEnabled: true
newArchEnabled: true
iOS:
hermesEnabled: true
newArchEnabled: true
Stacktrace or Logs
Not getting logs
MANDATORY Reproducer
Screenshots and Videos
No response
Metadata
Metadata
Assignees
Labels
Component: ScrollViewNeeds: Author FeedbackNeeds: ReproThis issue could be improved with a clear list of steps to reproduce the issue.This issue could be improved with a clear list of steps to reproduce the issue.Type: Too Old Version