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

[ActivityIndicator] Specify a width #1156

Closed
wants to merge 1 commit into from

Conversation

ide
Copy link
Contributor

@ide ide commented May 5, 2015

The activity indicator was treated as a zero-width element without an explicit width. Fill it in so the style dimensions match what is displayed on the screen.

Test Plan: Render an ActivityIndicator with a background, and see that the background shows up as a square behind the spinner instead of not showing up at all (since it was 0px wide previously).

@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 May 5, 2015
@brentvatne
Copy link
Collaborator

👍

@ide ide force-pushed the activity-indicator-width branch 2 times, most recently from 16c18dc to e69d2f6 Compare May 8, 2015 21:51
The activity indicator was treated as a zero-width element without an explicit width. Fill it in so the style dimensions match what is displayed on the screen.

Test Plan: Render an ActivityIndicator with a background, and see that the background shows up as a square behind the spinner instead of not showing up at all (since it was 0px wide previously).
@ide ide force-pushed the activity-indicator-width branch from e69d2f6 to abdacb9 Compare May 13, 2015 23:03
@vjeux
Copy link
Contributor

vjeux commented May 14, 2015

This is probably going to break many of our internal apps, the person that imports it needs to review it carefully

@ide
Copy link
Contributor Author

ide commented May 28, 2015

I briefly went through the Ads Manager and all of the spinners I found were horizontally centered so I don't expect this diff to expect them. Also they were custom spinners so I don't think they even use this component. In the groups app there's a spinner on the home screen, also horizontally centered. The only places where this diff would have an effect is if the spinners were positioned next to other components.

@sahrens sahrens self-assigned this Jun 11, 2015
@sahrens
Copy link
Contributor

sahrens commented Jun 11, 2015

@facebook-github-bot import

@facebook-github-bot
Copy link
Contributor

Thanks for importing. If you are an FB employee go to https://our.intern.facebook.com/intern/opensource/github/pull_request/1428484607458625/int_phab to review.

@ide ide closed this in 51e5794 Jun 25, 2015
@ide ide deleted the activity-indicator-width branch June 25, 2015 18:08
mganandraj pushed a commit to mganandraj/react-native that referenced this pull request May 13, 2022
Factor out dependency download task so it can be shared across pipelines
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.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants