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

[PickerIOS] fix missing selection indicator lines #18885

Conversation

VSchlattinger
Copy link
Contributor

Motivation

This PR is based on #13342 by @pvinis and fixes #14442.

As suggested in the discussion on the PR mentioned above, I moved the code from React/Views/RCTPickerManager.m to the initWithFrame function in React/Views/RCTPicker.m and verified that it still fixes the problem.

Test Plan

Before the change in this PR the selection indicator lines are missing when the Picker is initially added to the View and only appear after changing to a different Tab and back. This happens both in the Simulator and my real device (iPhone 6S on iOS 11.3).

beforechange

After the change, the indicator lines always appear. I did not notice any side effects of this change when playing around with the Picker in different configurations.

afterchange

Related PRs

#13342 also fixes this issue but appears to be inactive.

Release Notes

[IOS] [BUGFIX] [PickerIOS] - Fixed missing selection indicator lines

@VSchlattinger VSchlattinger requested a review from shergin as a code owner April 16, 2018 17:11
@facebook-github-bot
Copy link
Contributor

Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign up at https://code.facebook.com/cla. If you are contributing on behalf of someone else (eg your employer), the individual CLA may not be sufficient and your employer may need the corporate CLA signed.

If you have received this in error or have any questions, please contact us at cla@fb.com. Thanks!

@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 Apr 16, 2018
@facebook-github-bot
Copy link
Contributor

Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks!

@facebook-github-bot
Copy link
Contributor

@VSchlattinger I tried to find reviewers for this pull request and wanted to ping them to take another look. However, based on the blame information for the files in this pull request I couldn't find any reviewers. This sometimes happens when the files in the pull request are new or don't exist on master anymore. Is this pull request still relevant? If yes could you please rebase? In case you know who has context on this code feel free to mention them in a comment (one person is fine). Thanks for reading and hope you will continue contributing to the project.

@VSchlattinger
Copy link
Contributor Author

@shergin Can you review (and merge) this PR? Otherwise, please ping someone who has worked on this Component before and can do a review.

@VSchlattinger
Copy link
Contributor Author

@hramos @shergin Is there anything I can do to help this PR get merged soon? What is holding it back?

@janicduplessis
Copy link
Contributor

@VSchlattinger Could you rebase on master to get tests passing? Then I can land this as it seems you addressed all feedback left on the previous PR.

@VSchlattinger VSchlattinger force-pushed the fix/missingLinesInPickerIOS branch from 8bc654a to 82d8313 Compare July 21, 2018 00:28
@VSchlattinger
Copy link
Contributor Author

@janicduplessis Thank you for your reply.

I just rebased on the current master but test_end_to_end still fails…

@janicduplessis
Copy link
Contributor

@VSchlattinger Thanks, it's failing on master too so this is fine.

@facebook-github-bot shipit

@facebook-github-bot facebook-github-bot added the Import Started This pull request has been imported. This does not imply the PR has been approved. label Jul 21, 2018
Copy link
Contributor

@facebook-github-bot facebook-github-bot left a comment

Choose a reason for hiding this comment

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

@janicduplessis is landing this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

@react-native-bot
Copy link
Collaborator

This pull request was closed by @VSchlattinger in e592d6f.

Once this commit is added to a release, you will see the corresponding version tag below the description at e592d6f. If the commit has a single master tag, it is not yet part of a release.

@facebook facebook locked as resolved and limited conversation to collaborators Jul 21, 2018
@react-native-bot react-native-bot added the Merged This PR has been merged. label Jul 21, 2018
@hramos hramos removed Import Started This pull request has been imported. This does not imply the PR has been approved. labels Feb 6, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged This PR has been merged. Platform: iOS iOS applications.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[PickerIOS] Indicator line missing
5 participants