You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
NOTE: This issue requires fix in React Native codegen but filing here for folks who may run into the issue in the meanwhile.
This issue is expected to be fixed in react-native PR: facebook/react-native#44294
Problem:
So Props.h file generated from native component codegen does not properly initialize C++ struct.
So in effect, if you run the example code on iOS, displayInline which is an optional prop in MenuView unintentionally can be set to true as it is not initialized properly in C++ and sub menus can appear at top level.
Also using WithDefault in the TypeScript spec file does not fix this.
The text was updated successfully, but these errors were encountered:
NOTE: This issue requires fix in React Native codegen but filing here for folks who may run into the issue in the meanwhile.
This issue is expected to be fixed in react-native PR: facebook/react-native#44294
Problem:
So
Props.h
file generated from native component codegen does not properly initialize C++struct
.So in effect, if you run the example code on iOS,
displayInline
which is an optional prop inMenuView
unintentionally can be set totrue
as it is not initialized properly in C++ and sub menus can appear at top level.Also using
WithDefault
in the TypeScript spec file does not fix this.The text was updated successfully, but these errors were encountered: