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

Add viewConfig to RCTSlider Component, fix #10158 #10238

Closed
wants to merge 2 commits into from

Conversation

leeight
Copy link
Contributor

@leeight leeight commented Oct 4, 2016

And check componet.viewConfig before call component.setNativeProps method.

FIX #10158

@facebook-github-bot
Copy link
Contributor

By analyzing the blame information on this pull request, we identified @MengjueW and @mkonicek to be potential reviewers.

@facebook-github-bot facebook-github-bot 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 Oct 4, 2016
@leeight
Copy link
Contributor Author

leeight commented Oct 4, 2016

cc @janicduplessis

@facebook-github-bot facebook-github-bot 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 Oct 4, 2016
@facebook-github-bot
Copy link
Contributor

@leeight updated the pull request - view changes

1 similar comment
@facebook-github-bot
Copy link
Contributor

@leeight updated the pull request - view changes

@facebook-github-bot facebook-github-bot 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 Oct 7, 2016
this._component.setNativeProps(
this._propsAnimated.__getAnimatedValue()
);
if (this._component.viewConfig != null) {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you throw an error here instead of just dropping the change?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@javache Done.

@facebook-github-bot
Copy link
Contributor

@leeight updated the pull request - view changes

@facebook-github-bot facebook-github-bot 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 Oct 12, 2016
@javache
Copy link
Member

javache commented Oct 12, 2016

@facebook-github-bot shipit

@facebook-github-bot facebook-github-bot 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 Oct 12, 2016
@facebook-github-bot
Copy link
Contributor

Thanks for importing. If you are a Facebook employee, you can view this diff on Phabricator.

@facebook-github-bot facebook-github-bot 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 Oct 12, 2016
rozele pushed a commit to microsoft/react-native-windows that referenced this pull request Oct 13, 2016
Summary:
And check componet.viewConfig before call component.setNativeProps method.

FIX #10158
Closes facebook/react-native#10238

Differential Revision: D4008640

Pulled By: javache

fbshipit-source-id: 1bf9b34c0e56f1ffbcd31ae64b3cbafe77a9a1fd
michalchudziak pushed a commit to michalchudziak/react-native-slider that referenced this pull request Feb 8, 2019
Summary:
And check componet.viewConfig before call component.setNativeProps method.

FIX #10158
Closes facebook/react-native#10238

Differential Revision: D4008640

Pulled By: javache

fbshipit-source-id: 1bf9b34c0e56f1ffbcd31ae64b3cbafe77a9a1fd
james-watkin added a commit to james-watkin/react-native-slider that referenced this pull request Dec 28, 2021
Summary:
And check componet.viewConfig before call component.setNativeProps method.

FIX #10158
Closes facebook/react-native#10238

Differential Revision: D4008640

Pulled By: javache

fbshipit-source-id: 1bf9b34c0e56f1ffbcd31ae64b3cbafe77a9a1fd
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.

3 participants