Commit 5d975a3
Fix flickering (facebook#41461)
Summary:
Pull Request resolved: facebook#41461
D51179007 updated the layout spec so that we wouldn't have the weird spacing. However, it introduced some weird flickering through the app.
Upon investigating in layout inspector, I found that the issue actually isn't the rn_fragment, it's the rootview being created without the proper specs. This updates the ReactNavigationFragment so that the root view gets the correct specs, similar to how it's done here: https://www.internalfb.com/code/fbsource/[80683c89da108bba70bfe60340f80c6613960119]/fbandroid/java/com/facebook/fbreact/navigation/ReactNavigationActivityDelegate.java?lines=109
[changelog] internal
Reviewed By: jessebwr
Differential Revision: D51267353
fbshipit-source-id: 6deb5f29e8a73d9cf38cb9445d69ab041b974ec81 parent 307f66b commit 5d975a3
File tree
1 file changed
+1
-1
lines changed- packages/react-native/ReactAndroid/src/main/java/com/facebook/react
1 file changed
+1
-1
lines changedLines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
0 commit comments