Guy Carmeli hace 6 años
padre
commit
e5981af160
Se han modificado 1 ficheros con 6 adiciones y 2 borrados
  1. 6
    2
      playground/src/screens/ScrollViewScreen.js

+ 6
- 2
playground/src/screens/ScrollViewScreen.js Ver fichero

@@ -1,7 +1,7 @@
1 1
 const React = require('react');
2 2
 const { Component } = require('react');
3 3
 
4
-const { StyleSheet, ScrollView, View, Button } = require('react-native');
4
+const { StyleSheet, ScrollView, View, Button, Platform } = require('react-native');
5 5
 
6 6
 const { Navigation } = require('react-native-navigation');
7 7
 const testIDs = require('../testIDs');
@@ -11,7 +11,11 @@ class ScrollViewScreen extends Component {
11 11
     return {
12 12
       topBar: {
13 13
         title: 'Collapse',
14
-        drawBehind: true,
14
+        ...Platform.select({
15
+          android: {
16
+            drawBehind: true
17
+          }
18
+        }),
15 19
         textColor: 'black',
16 20
         textFontSize: 16
17 21
       }