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

fix NativeAnimated event listener bug #9729

Closed

Conversation

jmurzy
Copy link
Contributor

@jmurzy jmurzy commented Sep 4, 2016

This bugfix cleans up reference to value listener upon unsubscribing to native events ultimately preventing RCTEventEmitter from throwing a listener count error:

Attempted to remove more RCTNativeAnimatedModule listeners than added

/cc @janicduplessis @sahrens

🍺

This bugfix cleans up reference to value listener upon unsubscribing to native events ultimately preventing RCTEventEmitter from throwing a [listener count error](https://github.com/facebook/react-native/blob/v0.33.0-rc.0/React/Modules/RCTEventEmitter.m#L90).
@ghost ghost added GH Review: review-needed CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. labels Sep 4, 2016
jmurzy added a commit to jmurzy/react-router-native that referenced this pull request Sep 4, 2016
`Animated.setValue` via NativeAnimated for iOS is buggy and causes panResponders to fail

Also See facebook/react-native#9729
@ghost ghost added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Sep 4, 2016
@sahrens
Copy link
Contributor

sahrens commented Sep 4, 2016

Thanks!

@facebook-github-bot shipit

@ghost ghost added GH Review: accepted Import Started This pull request has been imported. This does not imply the PR has been approved. and removed GH Review: review-needed labels Sep 4, 2016
@ghost
Copy link

ghost commented Sep 4, 2016

Thanks for importing. If you are an FB employee go to Phabricator to review internal test results.

@ghost ghost added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Sep 4, 2016
@ghost ghost closed this in 64009b6 Sep 4, 2016
ide pushed a commit that referenced this pull request Sep 6, 2016
Summary:
This bugfix cleans up reference to value listener upon unsubscribing to native events ultimately preventing RCTEventEmitter from throwing a [listener count error](https://github.com/facebook/react-native/blob/v0.33.0-rc.0/React/Modules/RCTEventEmitter.m#L90):

`Attempted to remove more RCTNativeAnimatedModule listeners than added`

/cc janicduplessis sahrens

🍺
Closes #9729

Differential Revision: D3818241

Pulled By: sahrens

fbshipit-source-id: e235e3f97534ef2a50df29877ce36d3b6095237e
justim added a commit to guidiance/react-router-native that referenced this pull request Sep 28, 2017
Reason for disabling it is no longer true

See: jmurzy@4742270
See: facebook/react-native#9729
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Import Started This pull request has been imported. This does not imply the PR has been approved.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants