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

Drawer gets stuck while open and close #11616

Closed
4 of 11 tasks
SanketDorle opened this issue Sep 26, 2023 · 20 comments
Closed
4 of 11 tasks

Drawer gets stuck while open and close #11616

SanketDorle opened this issue Sep 26, 2023 · 20 comments

Comments

@SanketDorle
Copy link

Current behavior

When the drawer is opening it gets stuck, after touching the screen 2-3 times the drawer opens but not smoothly and after clicking on any item in the drawer the drawer does not close.

drawer.issue-1.mp4

this happed only on production build.

Expected behavior

Drawer should open & close smoothly.

Reproduction

https://github.com/SanketDorle/EVCFinder/tree/Energize

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.7
@react-navigation/drawer ^6.6.3
@react-navigation/stack ^6.3.17
react-native-gesture-handler ~2.12.0
react-native-reanimated ~3.3.0
react-native-pager-view 6.2.0
react-native 0.72.4
expo ^49.0.9
node 16.18.1
npm 8.19.2
@github-actions
Copy link

Hey @SanketDorle! 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.

@github-actions
Copy link

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

  • @react-navigation/native (found: 6.1.7, latest: 6.1.8)
  • @react-navigation/drawer (found: 6.6.3, latest: 6.6.4)
  • @react-navigation/stack (found: 6.3.17, latest: 6.3.18)

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

@SanketDorle
Copy link
Author

  • @react-navigation/native
    Same issue after upgrading above packages.

@Eonfuzz
Copy link

Eonfuzz commented Sep 28, 2023

I have the same issue but with slightly different builds:

"@react-navigation/drawer": "^6.6.3",
"@react-navigation/native": "^6.1.7",
"@react-navigation/native-stack": "^6.9.13",
"react-native-reanimated": "~3.3.0",

@thats-sarthak
Copy link

Can you please assign me this issue

@Eonfuzz
Copy link

Eonfuzz commented Oct 1, 2023

I was able to get this fixed by updating to these versions:

    "@react-navigation/drawer": "^6.6.4",
    "@react-navigation/native": "^6.1.8",
    "react-native-reanimated": "^3.5.4",
    "react-native-gesture-handler": "^2.13.1",

I believe it has something to do with older versions of reanimated or gesture handler.

Copy link

github-actions bot commented Nov 1, 2023

Hello 👋, this issue has been open for more than a month without a repro or any activity. If the issue is still present in the latest version, please provide a repro or leave a comment within 7 days to keep it open, otherwise it will be closed automatically. If you found a solution or workaround for the issue, please comment here for others to find. If this issue is critical for you, please consider sending a pull request to fix it.

@github-actions github-actions bot added the stale label Nov 1, 2023
@github-actions github-actions bot closed this as completed Nov 9, 2023
@guruprasath1327
Copy link

i am aslo face this issue how to fix it

Copy link

Hey! This issue is closed and isn't watched by the core team. You are welcome to discuss the issue with others in this thread, but if you think this issue is still valid and needs to be tracked, please open a new issue with a repro.

@HodgertA
Copy link

#11826 Facing the same issue

@guruprasath1327
Copy link

"@react-navigation/drawer": "^6.6.3",
"@react-navigation/native": "^6.1.7",
"@react-navigation/native-stack": "^6.9.13",
"react-native-reanimated": "~3.3.0",

@HodgertA
Copy link

"@react-navigation/drawer": "^6.6.3", "@react-navigation/native": "^6.1.7", "@react-navigation/native-stack": "^6.9.13", "react-native-reanimated": "~3.3.0",

@guruprasath1327 Thanks! I upgraded to expo 50 and the packages seemed to have resolved themselves and it works now. I am using

"@react-navigation/drawer": "^6.6.7",
"@react-navigation/native": "^6.1.10",
"@react-navigation/stack": "6.3.21",
"react-native-reanimated": "~3.6.2"

@ArthurDias01
Copy link

I have the same issue but with these versions:

"@react-navigation/drawer": "6.6.7",
"@react-navigation/native": "6.1.10",
"@react-navigation/stack": "^6.3.21",
"react-native-reanimated": "~3.3.0",

@guruprasath1327
Copy link

I have the same issue but with these versions:

"@react-navigation/drawer": "6.6.7",
"@react-navigation/native": "6.1.10",
"@react-navigation/stack": "^6.3.21",
"react-native-reanimated": "~3.3.0",

Use "react-native-reanimated": "^3.6.2"

@estiventhneira
Copy link

any update at this?

@JenilynnB
Copy link

Ran into this issue today and determined that it's likely related to having "Reduce motion" turned on on a physical device.

Here's a minimal reproducible example. Ran with device running iOS 17.4.1 with "Reduce motion" and "Prefer Cross Fade transitions" turned on in Accessibility Settings and it looks like the video in the original post.

@guruprasath1327
Copy link

any update at this?

"@react-navigation/drawer": "6.6.7",
"@react-navigation/native": "6.1.10",
"@react-navigation/stack": "^6.3.21",
"react-native-reanimated": "~3.3.0",

update the latest version of these lib

@guruprasath1327
Copy link

any update at this?

"@react-navigation/drawer": "6.6.7",
"@react-navigation/native": "6.1.10",
"@react-navigation/stack": "^6.3.21",
"react-native-reanimated": "~3.3.0",

update tje latest version of these lib

@Eonfuzz
Copy link

Eonfuzz commented May 28, 2024

any update at this?

"@react-navigation/drawer": "6.6.7", "@react-navigation/native": "6.1.10", "@react-navigation/stack": "^6.3.21", "react-native-reanimated": "~3.3.0",

update the latest version of these lib

Unable to test iOS, but I am on and this issue also and still occurs on Android when animations have been turned off in device settings:

"@react-navigation/drawer": "^6.6.15",
"@react-navigation/native": "6.1.17",
"@react-navigation/stack": "6.3.29",
"react-native-reanimated": "^3.11.0",

@gmartpad
Copy link

Any update?

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

9 participants