react-native-windows icon indicating copy to clipboard operation
react-native-windows copied to clipboard

Use `IsNativeControlWithSelfLayout` in ReplaceView

Open rozele opened this issue 3 years ago • 0 comments

Since we strictly speaking don't need to reset the self measure func when swapping out a native view, we can just use the IsNativeControlWithSelfLayout check. This internally checks for the a non-null measure function, but may future proof this case if we add additional logic to verify if a node uses self-layout.

Microsoft Reviewers: Open in CodeFlow

rozele avatar Aug 11 '22 16:08 rozele