Picker does not have rounded corners when "borderRadius" style is used
Environment
react-native -v: react-native-cli: 2.0.1 react-native: 0.60.6npm ls rnpm-plugin-windows: [email protected]npm ls react-native-windows: [email protected]node -v: v10.15.0npm -v: 6.13.1
Then, specify:
- Target Platform Version(s): 10.0.18362.0
- Target Device(s): Desktop
- Visual Studio Version: 2017
- Build Configuration: Debug
Steps to Reproduce
- Create a Picker in a project using React Native Windows
- Apply a style containing "borderRadius"
- Observe that the Picker does not have rounded corners
Example code:
import { Picker, StyleSheet } from "react-native";
const styleSheet = StyleSheet.create({
roundedCorners: {
borderRadius: 3,
},
});
render() {
return (
<Picker style={styleSheet.roundedCorners}>
<Picker.Item label="Any" value="Any" />
</Picker>
);
}
Expected Behavior
I expected the Picker to have rounded corners using the supplied border radius.
Actual Behavior
Applying the "borderRadius" style did not visually change the box. It still has rounded corners.
Screenshot:

@jagorrin We recently changed react-native-windows to bring in WinUI2.3 which should include various fixes for border radius. Can you update to the latest version and let us know if this is fixed or not for you? @licanhua if you happen to know the version number that adds this can you add a note here?
This issue has been automatically marked as stale because it has been marked as requiring author feedback but has not had any activity for 7 days. It will be closed if no further activity occurs within 14 days of this comment.
@licanhua Can you provide the version number when the upgrade to WinUI2.3 occurred?
PR that added it is here: https://github.com/microsoft/react-native-windows/pull/3707, from November 7th. @kmelmon do you know how to get from a commit to the version number that will include that?
@chrisglein currently, every change triggers a publish to npm so if it's checked in, it's already out there.
You can also look at the change log: https://github.com/microsoft/react-native-windows/blob/master/vnext/CHANGELOG.md#0600-vnext86
Admittedly the change log info entered on that change wasn't particularly descriptive.
Thank you. I will test on 0.60.0-vnext.86.
This is working for me now as of 0.60.0-vnext.86. Thanks!