Repository navigation
Commit f1f516e
Support SelectableParagraph in fantom tester (#59210)
Summary:
Pull Request resolved: #59210
The fantom test renderer only rendered text children for Paragraph nodes and
its stub component registry did not register the SelectableParagraph
descriptor, so selectable text fell back to an unimplemented view with empty
output. Register the SelectableParagraph descriptor and render its children
from ParagraphState the same way as Paragraph, so selectable text stays
observable in test output.
Changelog: [Internal]
Differential Revision: D126186990
fbshipit-source-id: 58e55b819a70c17878daf691c46d798e8666ff6a1 parent 1fcf9b8 commit f1f516e
2 files changed
Lines changed: 6 additions & 1 deletion
File tree
- private/react-native-fantom/tester/src
- render
- stubs
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
54 | 57 | | |
55 | 58 | | |
56 | 59 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
| |||
29 | 30 | | |
30 | 31 | | |
31 | 32 | | |
| 33 | + | |
32 | 34 | | |
33 | 35 | | |
34 | 36 | | |
| |||
0 commit comments