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

[TouchableHighlight] Preserve underlay style when restoring inactive props #129

Closed
wants to merge 1 commit into from
Closed

[TouchableHighlight] Preserve underlay style when restoring inactive props #129

wants to merge 1 commit into from

Commits on Mar 9, 2015

  1. [TouchableHighlight] Preserve underlay style when restoring inactive …

    …props
    
    If you give a TouchableHighlight component some styling (e.g. a background color) with the `underlayStyle` prop, the style is wiped away after touching the component. This diff restores the `underlayStyle`.
    
    Test Plan: Create a TouchableHighlight that receives `underlayStyle={{style:
    'blue'}}`. It initially has a blue background. Touch it and let go. See the blue background now comes back as expected.
    ide committed Mar 9, 2015
    Configuration menu
    Copy the full SHA
    2ef878b View commit details
    Browse the repository at this point in the history