-
Notifications
You must be signed in to change notification settings - Fork 24.4k
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
Improve documentation of Dimensions module #13178
Conversation
This includes giving a code sample and noting that window size may be different to screen size on android.
Haven't time to verify the changes work locally, but they should — cloning the repo is taking way too long on my internet connection. |
* | ||
* const screenSize = Dimensions.get('screen') | ||
* const windowSize = Dimensions.get('window') | ||
* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no-trailing-spaces: Trailing spaces not allowed.
* | ||
*``` | ||
* import { Keyboard, TextInput } from 'react-native'; | ||
* |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no-trailing-spaces: Trailing spaces not allowed.
I would really like to see this merged 👍 |
@ThisIsMissEm 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. |
No idea, it's been 6 months.
… On 17 Aug 2017, at 7:05 pm, Facebook Community Bot ***@***.***> wrote:
@ThisIsMissEm 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.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.
|
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Maybe the issue has been fixed in a recent release, or perhaps it is not affecting a lot of people. If you think this issue should definitely remain open, please let us know why. Thank you for your contributions. |
Thank you for doing this, really useful. I'll import this into the documentation. |
@charpeni Did this ever get imported into the documentation? The Dimensions documentation page is still rather sparse on this subject:
|
This includes giving a code sample and noting that window size may be different to screen size on android.
Motivation (required)
Couldn't find any documentation about the difference.
Test Plan (required)
Documentation change; But need to verify it looks right locally.
Next Steps