-
Notifications
You must be signed in to change notification settings - Fork 24.3k
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
Text components do not inherit boderStyle on iOS #22227
Comments
Hello there 👋 I've tested your code locally on 0.59 and I am having a hard time actually understanding what precise issue you are facing: it would be easier for me to understand if you could write a bit more so that we can realise if this is a bug. In that sense, I dig a bit in the codebase and found this comment on the limitation of borders:
here: which seems to be related to the issue you are describing. Let me know 🤗 |
I don't know what is it that you are not able to understand, if you just look at the image she has posted, you can compare how borderStyle works in iOS and Android and it is not the same for many cases, I request you to open this issue. The comment on limitation of borders points out that you must use single color and single width, but it is not related to what she is pointing out. Let me try to explain this to you, I have been facing the same issue what @irasantiago is trying to point out is that the borderStyle property is not consistent in iOS and also Android in some cases. For example, the case which I am facing is when I put borderStyle: 'dashed' on a element it shows up fine on Android but not the same in iOS, whereas when I put borderStyle: 'dashed' on a element it shows up fine on iOS but not the same in Android. This is exactly what is pointed out in the images posted by her. Please look at them once more and I request you to open the issue. |
I hope you can understand this is different from what she has written, which is
That said, even your description is super generic:
Can you slim it down to a clear case, with a minimal repro for 0.59, so that it can be investigated further? |
ok slimming it down this will show a dashed border in Android but not in iOS and that's the issue what I am trying to explain. |
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as a "Discussion" or add it to the "Backlog" and I will leave it open. Thank you for your contributions. |
Hey there, it looks like there has been no activity on this issue recently. Has the issue been fixed, or does it still require the community's attention? This issue may be closed if no further activity occurs. You may also label this issue as a "Discussion" or add it to the "Backlog" and I will leave it open. Thank you for your contributions. |
Closing this issue after a prolonged period of inactivity. If this issue is still present in the latest release, please feel free to create a new issue with up-to-date information. |
Environment
Description
On iOS,
Text
components do not inherit theboderStyle
despite inheritingView
's style props.Here's what it looks like in iOS and Android:
Reproducible Demo
Expo Snack: https://snack.expo.io/SkE6cNfT7
Repo: https://github.com/irasantiago/rn-android-border-style
The text was updated successfully, but these errors were encountered: