react-navigation/react-navigation

Sending `onAnimatedValueUpdate` with no listeners registered `warning` when swiping back using ios gesture. JS Stack Navigator

Open

#11564 opened on Aug 28, 2023

View on GitHub
 (57 comments) (45 reactions) (0 assignees)TypeScript (23,189 stars) (4,962 forks)batch import
bughelp wantedplatform:iosrepro provided

Description

Current behavior

This is only happening on JS Stack Navigator

I keep getting warning that says "Sending onAnimatedValueUpdate with no listeners registered" every time i'm swiping back to the previous screen using ios gesture.

I'm not sure why since i'm following the installation and setup in the docs correctly.

Screenshot

image

Video

https://github.com/react-navigation/react-navigation/assets/46083126/b69c46af-49d4-48e5-a605-c5aa9d79685e

Expected behavior

There should not be warning for gesture back behavior. This is sometimes really annoying when debugging or developing my apps.

Reproduction

https://github.com/bryanltobing/rnav-test

specific commit react-navigation setup feat: setup react navigation

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/stack 6.3.17
react-native-safe-area-context 4.6.3
react-native-screens 3.22.0
react-native-gesture-handler 2.12.0
react-native 0.72.4
expo 49.0.8
node 20.3.1
npm or yarn yarn 1.22.19

Contributor guide