Skip to content

Add empty onLayout functions on views so they can be measured on android#19

Open
adamrainsby wants to merge 1 commit into
naoufal:masterfrom
adamrainsby:onLayout
Open

Add empty onLayout functions on views so they can be measured on android#19
adamrainsby wants to merge 1 commit into
naoufal:masterfrom
adamrainsby:onLayout

Conversation

@adamrainsby

Copy link
Copy Markdown

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

@naoufal

naoufal commented Feb 16, 2016

Copy link
Copy Markdown
Owner

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

@naoufal naoufal self-assigned this Feb 16, 2016
@adamrainsby

Copy link
Copy Markdown
Author

@naoufal See this issue react/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