Nested TouchableOpacity in a FlatList is not working properly #35003
Labels
Component: FlatList
Component: TouchableOpacity
Needs: Triage 🔍
Platform: Linux
Building on Linux.
Stale
There has been a lack of activity on this issue and it may be closed soon.
Description
I want to create custom Dropdown without using library so, I have created a FlatList of TouchableOpacity cards with a Kebab(ThreeDots) dropdown but the dropDown menu is not clicking properly.
Working: i have created a touchable flatlist for cards and nested another touchable for the kebab dropdown which get enable on the basis of id check and render on the basis of checks DropDown menu is not clicking if it moves out from the card area View.
The code : card.js
Version
0.68.2
Output of
npx react-native info
info Fetching system and libraries information... System: OS: Linux 5.15 Ubuntu 22.04.1 LTS 22.04.1 LTS (Jammy Jellyfish) CPU: (4) x64 Intel(R) Core(TM) i5-4570S CPU @ 2.90GHz Memory: 5.62 GB / 15.54 GB Shell: 5.1.16 - /bin/bash Binaries: Node: 16.17.1 - /usr/bin/node Yarn: 1.22.19 - /usr/bin/yarn npm: 8.15.0 - /usr/bin/npm Watchman: Not Found SDKs: Android SDK: API Levels: 23, 28, 29, 30, 31, 32 Build Tools: 19.1.0, 20.0.0, 21.1.2, 22.0.1, 23.0.1, 23.0.2, 23.0.3, 24.0.0, 24.0.1, 24.0.2, 24.0.3, 25.0.0, 25.0.1, 25.0.2, 25.0.3, 26.0.0, 26.0.1, 26.0.2, 26.0.3, 27.0.0, 27.0.1, 27.0.2, 27.0.3, 28.0.0, 28.0.1, 28.0.2, 28.0.3, 29.0.0, 29.0.1, 29.0.2, 29.0.3, 30.0.0, 30.0.1, 30.0.2, 30.0.3, 31.0.0, 32.0.0, 32.1.0, 33.0.0, 33.0.0 System Images: android-27 | Google APIs Intel x86 Atom, android-28 | Google APIs Intel x86 Atom, android-28 | Google Play Intel x86 Atom, android-30 | Wear OS 3 - Preview Intel x86 Atom, android-30 | Google TV Intel x86 Atom, android-30 | Google APIs Intel x86 Atom_64, android-30 | Google Play Intel x86 Atom, android-31 | Intel x86 Atom_64, android-31 | Google TV Intel x86 Atom, android-31 | Google Play Intel x86 Atom_64, android-Tiramisu | Google APIs Intel x86 Atom_64 Android NDK: Not Found IDEs: Android Studio: Not Found Languages: Java: 17.0.2 - /usr/bin/javac npmPackages: @react-native-community/cli: Not Found react: 17.0.2 => 17.0.2 react-native: 0.68.2 => 0.68.2 npmGlobalPackages: *react-native*: Not Found
Steps to reproduce
create new project add this Card.js in app.js
Snack, code example, screenshot, or link to a repository
The text was updated successfully, but these errors were encountered: