-
Notifications
You must be signed in to change notification settings - Fork 125
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Percentage units (%) support on borderRadius style property 🚀 #577
Comments
+1 |
2 similar comments
+1 |
+1 |
+1 Annoyed of developers using random large values as border radius. const styles = StyleSheet.create({
circle: {
width: '60%',
aspectRatio: 1,
borderRadius: 999999, // lazy
backgroundColor: 'red',
},
}) |
absolutely agree it, radius cant use % is a pretty unreasonable , its always appear some unusual layout when width &height use precent unit whit borderRadius |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Introduction
As developers, we are constantly looking for ways to improve the user experience and make our designs as dynamic and adaptable as possible. One way to achieve this is by allowing for the use of percentage units on the borderRadius style property in React Native.
Allowing percentage units on the borderRadius property would greatly improve the flexibility and responsiveness of our designs. It would allow us to create more dynamic and adaptive UI elements, and make it easier to create designs that look and feel consistent across different screen sizes and resolutions. Some properties like width and height already support the use of percentage units.
Code example
The text was updated successfully, but these errors were encountered: