mirror of
https://github.com/status-im/react-native.git
synced 2025-01-09 17:15:54 +00:00
James Ide
f002fda275
[TouchableHighlight] Preserve underlay style when restoring inactive props
Summary: 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`. Closes https://github.com/facebook/react-native/pull/129 Github Author: James Ide <ide@jameside.com> 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.
Description
A framework for building native apps with React.
http://facebook.github.io/react-native/
Languages
JavaScript
47.5%
Java
26.5%
Objective-C
13.7%
C++
7.2%
C
1.5%
Other
3.5%