File tree 2 files changed +3
-16
lines changed
Libraries/Components/Touchable
2 files changed +3
-16
lines changed Original file line number Diff line number Diff line change @@ -189,7 +189,7 @@ const TouchableHighlight = createReactClass({
189
189
return {
190
190
...this . touchableGetInitialState ( ) ,
191
191
extraChildStyle : null ,
192
- extraUnderlayStyle : styles . inactiveUnderlay ,
192
+ extraUnderlayStyle : null ,
193
193
} ;
194
194
} ,
195
195
@@ -285,7 +285,7 @@ const TouchableHighlight = createReactClass({
285
285
if ( this . _hasPressHandler ( ) ) {
286
286
this . setState ( {
287
287
extraChildStyle : null ,
288
- extraUnderlayStyle : styles . inactiveUnderlay ,
288
+ extraUnderlayStyle : null ,
289
289
} ) ;
290
290
this . props . onHideUnderlay && this . props . onHideUnderlay ( ) ;
291
291
}
@@ -342,10 +342,4 @@ const TouchableHighlight = createReactClass({
342
342
} ,
343
343
} ) ;
344
344
345
- const styles = StyleSheet . create ( {
346
- inactiveUnderlay : {
347
- backgroundColor : 'transparent' ,
348
- } ,
349
- } ) ;
350
-
351
345
module . exports = TouchableHighlight ;
Original file line number Diff line number Diff line change @@ -17,14 +17,7 @@ exports[`TouchableHighlight renders correctly 1`] = `
17
17
onResponderTerminate = { [Function ]}
18
18
onResponderTerminationRequest = { [Function ]}
19
19
onStartShouldSetResponder = { [Function ]}
20
- style = {
21
- Array [
22
- Object {},
23
- Object {
24
- " backgroundColor" : " transparent" ,
25
- },
26
- ]
27
- }
20
+ style = { Object {}}
28
21
testID = { undefined }
29
22
tvParallaxProperties = { undefined }
30
23
>
You can’t perform that action at this time.
0 commit comments