|
2 | 2 |
|
3 | 3 | exports[`Bottom sheet renders a custom bottom action sheet for ios (Basic modal) with custom style 1`] = `null`; |
4 | 4 |
|
5 | | -exports[`Bottom sheet renders a custom modal 1`] = ` |
| 5 | +exports[`Bottom sheet renders a custom modal 1`] = `null`; |
| 6 | + |
| 7 | +exports[`Bottom sheet renders a expanding 1`] = ` |
6 | 8 | <View |
| 9 | + pointerEvents="box-none" |
7 | 10 | style={ |
8 | 11 | { |
9 | 12 | "bottom": 0, |
10 | 13 | "left": 0, |
11 | | - "opacity": 0, |
12 | 14 | "position": "absolute", |
13 | 15 | "right": 0, |
14 | 16 | "top": 0, |
15 | 17 | } |
16 | 18 | } |
17 | 19 | > |
18 | | - <RCTSafeAreaView |
19 | | - onLayout={[Function]} |
| 20 | + <View |
20 | 21 | style={ |
21 | 22 | { |
22 | | - "flex": 1, |
| 23 | + "bottom": 0, |
| 24 | + "left": 0, |
| 25 | + "opacity": 0, |
| 26 | + "pointerEvents": "none", |
| 27 | + "position": "absolute", |
| 28 | + "right": 0, |
| 29 | + "zIndex": -1, |
23 | 30 | } |
24 | 31 | } |
25 | | - /> |
26 | | -</View> |
27 | | -`; |
28 | | - |
29 | | -exports[`Bottom sheet renders a expanding 1`] = ` |
30 | | -<View |
31 | | - style={ |
32 | | - { |
33 | | - "bottom": -1334, |
34 | | - "position": "absolute", |
35 | | - } |
36 | | - } |
37 | | -> |
38 | | - <View |
39 | | - onLayout={[Function]} |
40 | | - pointerEvents="box-none" |
41 | 32 | > |
42 | 33 | <View |
43 | 34 | onLayout={[Function]} |
44 | 35 | pointerEvents="box-none" |
45 | | - style={{}} |
46 | 36 | > |
47 | 37 | <Text> |
48 | 38 | Header |
49 | 39 | </Text> |
50 | 40 | </View> |
51 | | - <Text> |
52 | | - Content |
53 | | - </Text> |
| 41 | + <View |
| 42 | + onLayout={[Function]} |
| 43 | + pointerEvents="box-none" |
| 44 | + > |
| 45 | + <Text> |
| 46 | + Content |
| 47 | + </Text> |
| 48 | + </View> |
54 | 49 | </View> |
55 | 50 | </View> |
56 | 51 | `; |
57 | 52 |
|
58 | 53 | exports[`Bottom sheet renders a expanding fullscreen 1`] = ` |
59 | 54 | <View |
| 55 | + pointerEvents="box-none" |
60 | 56 | style={ |
61 | 57 | { |
62 | 58 | "bottom": 0, |
63 | 59 | "left": 0, |
64 | | - "opacity": 0, |
65 | 60 | "position": "absolute", |
66 | 61 | "right": 0, |
67 | 62 | "top": 0, |
68 | 63 | } |
69 | 64 | } |
70 | 65 | > |
71 | | - <RCTSafeAreaView |
72 | | - onLayout={[Function]} |
| 66 | + <View |
73 | 67 | style={ |
74 | 68 | { |
75 | | - "flex": 1, |
| 69 | + "bottom": 0, |
| 70 | + "left": 0, |
| 71 | + "opacity": 0, |
| 72 | + "pointerEvents": "none", |
| 73 | + "position": "absolute", |
| 74 | + "right": 0, |
| 75 | + "zIndex": -1, |
76 | 76 | } |
77 | 77 | } |
78 | | - /> |
| 78 | + > |
| 79 | + <View |
| 80 | + onLayout={[Function]} |
| 81 | + pointerEvents="box-none" |
| 82 | + > |
| 83 | + <Text> |
| 84 | + Header |
| 85 | + </Text> |
| 86 | + </View> |
| 87 | + <View |
| 88 | + onLayout={[Function]} |
| 89 | + pointerEvents="box-none" |
| 90 | + > |
| 91 | + <Text> |
| 92 | + Content |
| 93 | + </Text> |
| 94 | + </View> |
| 95 | + <View |
| 96 | + onLayout={[Function]} |
| 97 | + pointerEvents="box-none" |
| 98 | + > |
| 99 | + <Text> |
| 100 | + Full screen content |
| 101 | + </Text> |
| 102 | + </View> |
| 103 | + </View> |
79 | 104 | </View> |
80 | 105 | `; |
81 | 106 |
|
82 | 107 | exports[`Bottom sheet renders a expanding fullscreen with custom styles 1`] = ` |
83 | 108 | <View |
| 109 | + pointerEvents="box-none" |
84 | 110 | style={ |
85 | 111 | { |
86 | 112 | "bottom": 0, |
87 | 113 | "left": 0, |
88 | | - "opacity": 0, |
89 | 114 | "position": "absolute", |
90 | 115 | "right": 0, |
91 | 116 | "top": 0, |
92 | 117 | } |
93 | 118 | } |
94 | 119 | > |
95 | | - <RCTSafeAreaView |
96 | | - onLayout={[Function]} |
| 120 | + <View |
97 | 121 | style={ |
98 | 122 | { |
99 | | - "flex": 1, |
| 123 | + "bottom": 0, |
| 124 | + "left": 0, |
| 125 | + "opacity": 0, |
| 126 | + "pointerEvents": "none", |
| 127 | + "position": "absolute", |
| 128 | + "right": 0, |
| 129 | + "zIndex": -1, |
100 | 130 | } |
101 | 131 | } |
102 | | - /> |
| 132 | + > |
| 133 | + <View |
| 134 | + onLayout={[Function]} |
| 135 | + pointerEvents="box-none" |
| 136 | + > |
| 137 | + <Text> |
| 138 | + Header |
| 139 | + </Text> |
| 140 | + </View> |
| 141 | + <View |
| 142 | + onLayout={[Function]} |
| 143 | + pointerEvents="box-none" |
| 144 | + > |
| 145 | + <Text> |
| 146 | + Content |
| 147 | + </Text> |
| 148 | + </View> |
| 149 | + <View |
| 150 | + onLayout={[Function]} |
| 151 | + pointerEvents="box-none" |
| 152 | + > |
| 153 | + <Text> |
| 154 | + Full screen content |
| 155 | + </Text> |
| 156 | + </View> |
| 157 | + </View> |
103 | 158 | </View> |
104 | 159 | `; |
105 | 160 |
|
|
0 commit comments