This commit started with a small fix to a TopBar visibility issue detailed in #3971 which unveiled a few issues with how options are resolved and merged. TopBar visibility The initial TopBar visibility issue was a result of hide animators now being cancelled when pushing another screen. Another issue was that if the TopBar was not measured (Initial stack child was shown with `TopBar.visible = false`), the start value passed to the Y translation was 0. This commit makes sure the TopBar show animation starts after the TopBar is measured. Options issues When resolving current issues in ParentControllers, the options of the current child were wrongfully taken into account. This commit changes options resolve logic so that initial options (and options dynamically merged to them via mergeOptions call) are merged.
|
||
12 | 12 |
|
13 | 13 |
|
14 | 14 |
|
15 |
|
|
15 | 16 |
|
16 | 17 |
|
17 | 18 |
|
|
||
41 | 42 |
|
42 | 43 |
|
43 | 44 |
|
44 |
|
|
45 |
|
|
46 |
|
|
47 |
|
|
48 |
|
|
49 |
|
|
45 |
|
|
46 |
|
|
47 |
|
|
48 |
|
|
49 |
|
|
50 |
|
|
51 |
|
|
52 |
|
|
53 |
|
|
50 | 54 |
|
51 | 55 |
|
52 | 56 |
|
|
||
62 | 66 |
|
63 | 67 |
|
64 | 68 |
|
69 |
|
|
65 | 70 |
|
66 | 71 |
|
67 | 72 |
|
|
||
96 | 101 |
|
97 | 102 |
|
98 | 103 |
|
104 |
|
|
99 | 105 |
|
100 | 106 |
|
101 | 107 |
|
|
||
113 | 113 |
|
114 | 114 |
|
115 | 115 |
|
116 |
|
|
116 |
|
|
117 |
|
|
118 |
|
|
119 |
|
|
120 |
|
|
117 | 121 |
|
118 | 122 |
|
119 | 123 |
|
|
||
203 | 207 |
|
204 | 208 |
|
205 | 209 |
|
210 |
|
|
211 |
|
|
212 |
|
|
213 |
|
|
214 |
|
|
215 |
|
|
216 |
|
|
217 |
|
|
218 |
|
|
206 | 219 |
|
207 | 220 |
|
208 | 221 |
|
|
||
30 | 30 |
|
31 | 31 |
|
32 | 32 |
|
33 |
|
|
34 |
|
|
35 |
|
|
36 |
|
|
37 |
|
|
38 |
|
|
39 |
|
|
40 |
|
|
41 |
|
|
42 |
|
|
43 |
|
|
44 |
|
|
45 |
|
|
46 |
|
|
47 |
|
|
48 |
|
|
33 | 49 |
|
34 | 50 |
|
35 | 51 |
|
|
||
4 | 4 |
|
5 | 5 |
|
6 | 6 |
|
7 |
|
|
7 | 8 |
|
8 | 9 |
|
9 | 10 |
|
|
||
129 | 130 |
|
130 | 131 |
|
131 | 132 |
|
133 |
|
|
134 |
|
|
135 |
|
|
136 |
|
|
137 |
|
|
138 |
|
|
139 |
|
|
132 | 140 |
|
|
||
42 | 42 |
|
43 | 43 |
|
44 | 44 |
|
45 |
|
|
45 |
|
|
46 | 46 |
|
47 | 47 |
|
48 |
|
|
49 |
|
|
48 |
|
|
50 | 49 |
|
51 | 50 |
|
52 | 51 |
|
|
||
97 | 96 |
|
98 | 97 |
|
99 | 98 |
|
100 |
|
|
99 |
|
|
101 | 100 |
|
102 | 101 |
|
103 | 102 |
|
|
||
45 | 45 |
|
46 | 46 |
|
47 | 47 |
|
48 |
|
|
48 |
|
|
49 | 49 |
|
50 | 50 |
|
51 | 51 |
|
|
||
106 | 106 |
|
107 | 107 |
|
108 | 108 |
|
109 |
|
|
109 | 110 |
|
110 | 111 |
|
111 | 112 |
|
113 |
|
|
112 | 114 |
|
113 | 115 |
|
114 | 116 |
|
|
||
131 | 131 |
|
132 | 132 |
|
133 | 133 |
|
134 |
|
|
134 |
|
|
135 | 135 |
|
136 | 136 |
|
137 | 137 |
|
|
||
166 | 166 |
|
167 | 167 |
|
168 | 168 |
|
169 |
|
|
169 | 170 |
|
170 | 171 |
|
171 | 172 |
|
|
||
310 | 311 |
|
311 | 312 |
|
312 | 313 |
|
314 |
|
|
313 | 315 |
|
314 | 316 |
|
315 | 317 |
|
|
||
265 | 265 |
|
266 | 266 |
|
267 | 267 |
|
268 |
|
|
268 | 269 |
|
269 | 270 |
|
270 | 271 |
|
|
||
275 | 276 |
|
276 | 277 |
|
277 | 278 |
|
278 |
|
|
279 |
|
|
279 | 280 |
|
280 | 281 |
|
281 | 282 |
|
|
||
4 | 4 |
|
5 | 5 |
|
6 | 6 |
|
7 |
|
|
8 | 7 |
|
9 | 8 |
|
10 | 9 |
|
10 |
|
|
11 | 11 |
|
12 | 12 |
|
13 | 13 |
|
|
||
49 | 49 |
|
50 | 50 |
|
51 | 51 |
|
52 |
|
|
52 |
|
|
53 | 53 |
|
54 |
|
|
54 |
|
|
55 | 55 |
|
56 | 56 |
|
57 | 57 |
|
|
||
7 | 7 |
|
8 | 8 |
|
9 | 9 |
|
10 |
|
|
10 | 11 |
|
11 | 12 |
|
12 | 13 |
|
14 |
|
|
13 | 15 |
|
14 | 16 |
|
15 | 17 |
|
|
||
34 | 36 |
|
35 | 37 |
|
36 | 38 |
|
39 |
|
|
40 |
|
|
41 |
|
|
42 |
|
|
37 | 43 |
|
|
||
26 | 26 |
|
27 | 27 |
|
28 | 28 |
|
29 |
|
|
29 | 30 |
|
30 | 31 |
|
31 | 32 |
|
|
||
38 | 39 |
|
39 | 40 |
|
40 | 41 |
|
42 |
|
|
41 | 43 |
|
42 | 44 |
|
43 | 45 |
|
|
||
80 | 82 |
|
81 | 83 |
|
82 | 84 |
|
85 |
|
|
83 | 86 |
|
84 | 87 |
|
85 | 88 |
|
|
||
158 | 161 |
|
159 | 162 |
|
160 | 163 |
|
164 |
|
|
165 |
|
|
161 | 166 |
|
162 | 167 |
|
163 | 168 |
|
|
||
235 | 240 |
|
236 | 241 |
|
237 | 242 |
|
243 |
|
|
238 | 244 |
|
245 |
|
|
239 | 246 |
|
240 | 247 |
|
241 | 248 |
|
|
||
245 | 252 |
|
246 | 253 |
|
247 | 254 |
|
248 |
|
|
249 |
|
|
250 |
|
|
251 | 255 |
|
252 | 256 |
|
253 | 257 |
|
254 | 258 |
|
255 | 259 |
|
256 |
|
|
257 |
|
|
258 |
|
|
260 |
|
|
259 | 261 |
|
260 | 262 |
|
261 | 263 |
|
|
||
264 | 266 |
|
265 | 267 |
|
266 | 268 |
|
267 |
|
|
268 |
|
|
269 |
|
|
270 |
|
|
271 |
|
|
272 |
|
|
273 |
|
|
274 |
|
|
275 |
|
|
276 |
|
|
269 |
|
|
270 |
|
|
271 |
|
|
272 |
|
|
273 |
|
|
274 |
|
|
275 |
|
|
276 |
|
|
277 | 277 |
|
278 | 278 |
|
279 | 279 |
|
|
||
187 | 187 |
|
188 | 188 |
|
189 | 189 |
|
190 |
|
|
190 |
|
|
191 | 191 |
|
192 | 192 |
|
193 | 193 |
|
194 | 194 |
|
195 | 195 |
|
196 | 196 |
|
197 |
|
|
198 |
|
|
199 |
|
|
200 |
|
|
201 |
|
|
202 |
|
|
203 |
|
|
197 |
|
|
204 | 198 |
|
205 | 199 |
|
206 | 200 |
|
|
||
209 | 203 |
|
210 | 204 |
|
211 | 205 |
|
212 |
|
|
206 |
|
|
213 | 207 |
|
214 | 208 |
|
215 | 209 |
|
|
||
34 | 34 |
|
35 | 35 |
|
36 | 36 |
|
37 |
|
|
38 | 37 |
|
39 | 38 |
|
40 | 39 |
|
|
||
279 | 278 |
|
280 | 279 |
|
281 | 280 |
|
282 |
|
|
281 |
|
|
283 | 282 |
|
284 | 283 |
|
285 |
|
|
286 |
|
|
284 |
|
|
287 | 285 |
|
288 |
|
|
286 |
|
|
289 | 287 |
|
290 | 288 |
|
291 | 289 |
|
|
||
6 | 6 |
|
7 | 7 |
|
8 | 8 |
|
9 |
|
|
9 | 10 |
|
10 | 11 |
|
11 | 12 |
|
|
||
65 | 66 |
|
66 | 67 |
|
67 | 68 |
|
68 |
|
|
69 |
|
|
70 | 69 |
|
71 | 70 |
|
72 | 71 |
|
|
||
209 | 208 |
|
210 | 209 |
|
211 | 210 |
|
212 |
|
|
213 |
|
|
214 |
|
|
211 |
|
|
215 | 212 |
|
216 |
|
|
217 |
|
|
218 |
|
|
219 |
|
|
220 |
|
|
221 |
|
|
222 |
|
|
223 |
|
|
224 |
|
|
225 |
|
|
226 |
|
|
213 |
|
|
214 |
|
|
227 | 215 |
|
228 | 216 |
|
229 | 217 |
|
230 |
|
|
231 |
|
|
232 | 218 |
|
233 | 219 |
|
234 | 220 |
|
235 |
|
|
236 |
|
|
237 |
|
|
238 |
|
|
239 |
|
|
240 |
|
|
221 |
|
|
222 |
|
|
223 |
|
|
224 |
|
|
225 |
|
|
226 |
|
|
241 | 227 |
|
242 | 228 |
|
243 | 229 |
|
|
||
22 | 22 |
|
23 | 23 |
|
24 | 24 |
|
25 |
|
|
25 | 26 |
|
26 | 27 |
|
27 | 28 |
|
|
||
82 | 83 |
|
83 | 84 |
|
84 | 85 |
|
85 |
|
|
86 |
|
|
86 | 87 |
|
87 | 88 |
|
88 | 89 |
|
|
||
140 | 141 |
|
141 | 142 |
|
142 | 143 |
|
143 |
|
|
144 | 144 |
|
145 |
|
|
146 | 145 |
|
147 | 146 |
|
148 | 147 |
|
|
||
674 | 673 |
|
675 | 674 |
|
676 | 675 |
|
676 |
|
|
677 | 677 |
|
678 | 678 |
|
679 | 679 |
|
|
||
720 | 720 |
|
721 | 721 |
|
722 | 722 |
|
723 |
|
|
723 | 724 |
|
724 | 725 |
|
725 | 726 |
|
|
||
729 | 730 |
|
730 | 731 |
|
731 | 732 |
|
733 |
|
|
732 | 734 |
|
733 | 735 |
|
734 | 736 |
|
|
||
38 | 38 |
|
39 | 39 |
|
40 | 40 |
|
41 |
|
|
41 |
|
|
42 | 42 |
|
43 | 43 |
|
44 | 44 |
|