Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

Nested Navigation Gesture issues #11986

Open
8 of 12 tasks
softgenicsShubham opened this issue May 13, 2024 · 3 comments
Open
8 of 12 tasks

Nested Navigation Gesture issues #11986

softgenicsShubham opened this issue May 13, 2024 · 3 comments

Comments

@softgenicsShubham
Copy link

Current behavior

I have a Stack Navigator containing a BottomTab navigation, and within it, a MaterialTopTab Navigator. I've implemented a tap gesture within the MaterialTopTab Navigator. When I tap once on the screen with one finger, nothing happens. However, when I press one finger on the screen and then tap with another finger simultaneously, the expected result occurs.

Expected behavior

If I click with one finger, it has to trigger the action and produce the result.

Reproduction

https://github.com/softgenicsShubham

Platform

  • Android
  • iOS
  • Web
  • Windows
  • MacOS

Packages

  • @react-navigation/bottom-tabs
  • @react-navigation/drawer
  • @react-navigation/material-top-tabs
  • @react-navigation/stack
  • @react-navigation/native-stack
  • react-native-tab-view

Environment

  • I've removed the packages that I don't use
package version
@react-navigation/native 6.1.17
@react-navigation/bottom-tabs 6.5.20
@react-navigation/drawer 6.6.4
@react-navigation/material-top-tabs 6.6.13
@react-navigation/stack 6.1.17
@react-navigation/native-stack 6.9.26
react-native-safe-area-context 4.3.1
react-native-screens 3.15.0
react-native-gesture-handler 3.15.0
react-native-reanimated 2.9.1
react-native-tab-view 3.1.1
react-native-pager-view 5.4.25
react-native 0.71.2
expo 0.0.0
node 18.20.2
npm or yarn 1.22.19
Copy link

Hey @softgenicsShubham! Thanks for opening the issue. It seems that the issue doesn't contain a link to a repro.

The best way to get attention to your issue is to provide an easy way for a developer to reproduce the issue.

You can provide a repro using any of the following:

A snack link is preferred since it's the easiest way to both create and share a repro. If it's not possible to create a repro using a snack, link to a GitHub repo under your username is a good alternative. Don't link to a branch or specific file etc. as it won't be detected.

Try to keep the repro as small as possible by narrowing down the minimal amount of code needed to reproduce the issue. Don't link to your entire project or a project containing code unrelated to the issue. See "How to create a Minimal, Reproducible Example" for more information.

You can edit your original issue to include a link to the repro, or leave it as a comment. The issue will be closed automatically after a while if you don't provide a repro.

Copy link

The versions mentioned in the issue for the following packages differ from the latest versions on npm:

  • @react-navigation/drawer (found: 6.6.4, latest: 6.6.15)
  • @react-navigation/stack (found: 6.1.17, latest: 6.3.29)
  • react-native-tab-view (found: 3.1.1, latest: 3.5.2)

Can you verify that the issue still exists after upgrading to the latest versions of these packages?

@softgenicsShubham
Copy link
Author

Has anyone experienced the same issues previously?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant