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 empty onLayout functions on views so they can be measured on android #19

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

adamrainsby
Copy link

This fixes a weird bug where you can't measure views on android if the view doesn't specify an onLayout function

@naoufal
Copy link
Owner

naoufal commented Feb 16, 2016

@adamrainsby Can you give me more context around the fix?

@naoufal naoufal self-assigned this Feb 16, 2016
@adamrainsby
Copy link
Author

@naoufal See this issue facebook/react-native#3282

Measure doesn't work on android without it.

compojoom pushed a commit to compojoom/react-native-accordion that referenced this pull request Mar 1, 2017
adding the fixes specified in this issue:
naoufal#19

without them the content item is behind the currently open element
compojoom added a commit to compojoom/react-native-accordion that referenced this pull request Mar 1, 2017
Android fixes for the content height

adding the fixes specified in this issue:
naoufal#19

without them the content item is behind the currently open element
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants