@@ -32,8 +32,10 @@ Other: ongoing research
3232 2 . ` TabX: onDidDisappear `
3333 3 . ` TabY: onWillAppear `
3434 4 . ` TabY: onDidAppear `
35- - Toasts stack and dismiss automatically; observe each toast color and
36- label as it appears. To dismiss a toast manually, tap it.
35+ - Toasts stack and dismiss automatically. To dismiss a toast manually,
36+ tap it. Toast background colors by event type:
37+ ` onWillAppear ` — green, ` onWillDisappear ` — light navy,
38+ ` onDidAppear ` — light blue, ` onDidDisappear ` — dark navy.
3739- Re-tapping the currently active tab must not fire any lifecycle events.
3840
3941## Steps
@@ -54,38 +56,62 @@ Other: ongoing research
5456
55572 . Tap ** Tab B** in the tab bar.
5658
57- - [ ] Expected: The content area switches to show "TabB". Four toast
58- notifications appear in a platform-specific order:
59- - ` TabB: onWillAppear ` (green background)
60- - ` TabA: onWillDisappear ` (light navy background)
61- - ` TabB: onDidAppear ` (light blue background)
62- - ` TabA: onDidDisappear ` (dark navy background)
59+ - [ ] Expected: The content area switches to show "TabB". Four toasts
60+ appear in the following platform-specific order:
61+
62+ ** iOS:**
63+ 1 . ` TabB: onWillAppear `
64+ 2 . ` TabA: onWillDisappear `
65+ 3 . ` TabB: onDidAppear `
66+ 4 . ` TabA: onDidDisappear `
67+
68+ ** Android:**
69+ 1 . ` TabA: onWillDisappear `
70+ 2 . ` TabA: onDidDisappear `
71+ 3 . ` TabB: onWillAppear `
72+ 4 . ` TabB: onDidAppear `
6373
6474---
6575
6676### Tab B → Tab C transition
6777
68783 . Tap ** Tab C** in the tab bar.
6979
70- - [ ] Expected: The content area switches to show "TabC". Four toast
71- notifications appear in a platform-specific order:
72- - ` TabC: onWillAppear ` (green background)
73- - ` TabB: onWillDisappear ` (light navy background)
74- - ` TabC: onDidAppear ` (light blue background)
75- - ` TabB: onDidDisappear ` (dark navy background)
80+ - [ ] Expected: The content area switches to show "TabC". Four toasts
81+ appear in the following platform-specific order:
82+
83+ ** iOS:**
84+ 1 . ` TabC: onWillAppear `
85+ 2 . ` TabB: onWillDisappear `
86+ 3 . ` TabC: onDidAppear `
87+ 4 . ` TabB: onDidDisappear `
88+
89+ ** Android:**
90+ 1 . ` TabB: onWillDisappear `
91+ 2 . ` TabB: onDidDisappear `
92+ 3 . ` TabC: onWillAppear `
93+ 4 . ` TabC: onDidAppear `
7694
7795---
7896
7997### Tab C → Tab A transition
8098
81994 . Tap ** Tab A** in the tab bar.
82100
83- - [ ] Expected: The content area switches to show "TabA". Four toast
84- notifications appear in a platform-specific order:
85- - ` TabA: onWillAppear ` (green background)
86- - ` TabC: onWillDisappear ` (light navy background)
87- - ` TabA: onDidAppear ` (light blue background)
88- - ` TabC: onDidDisappear ` (dark navy background)
101+ - [ ] Expected: The content area switches to show "TabA". Four toasts
102+ appear in the following platform-specific order:
103+
104+ ** iOS:**
105+ 1 . ` TabA: onWillAppear `
106+ 2 . ` TabC: onWillDisappear `
107+ 3 . ` TabA: onDidAppear `
108+ 4 . ` TabC: onDidDisappear `
109+
110+ ** Android:**
111+ 1 . ` TabC: onWillDisappear `
112+ 2 . ` TabC: onDidDisappear `
113+ 3 . ` TabA: onWillAppear `
114+ 4 . ` TabA: onDidAppear `
89115
90116---
91117
0 commit comments