-
Notifications
You must be signed in to change notification settings - Fork 325
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
fix: fix reply border style #2197
Conversation
borderRightWidth: 0, | ||
}, | ||
}), | ||
borderRightWidth: 0, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If its 0, if there a need to have this property in the styles anymore?
borderLeftWidth: 0, | ||
}, | ||
}), | ||
borderLeftWidth: 0, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If its 0, if there a need to have this property in the styles anymore?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, the current structure first passes styles.messageRepliesCurve
with a borderWidth: 1
. Then, we remove the opposite side border within each rightMessageRepliesCurve
or leftMessageRepliesCurve
. I've attached an image if we just remove that line.
However, if this is not ideal, we could remove the borderWidth: 1
from the styles.messageRepliesCurve
and replace it with borderWithBottom: 1
and then have a left or right borderWidth with each replies curve. This should give the same impact.
Hey @aharwood9, thanks for fixing this and providing your valuable contributions. 🙌🏻 |
@khushal87 - sorry one additional comment. Should there be a horizontal margin or not between the curves and the avatars? See the below images. Without margin - Currently this PR has margin |
Hey @aharwood9, good point. According to the design, there should not be a margin. Can you add the fix? Thanks 😄 |
Done 👍 if you are happy with my reply to your comment about |
🎉 This PR is included in version 5.18.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
🎯 Goal
Fix #1982 and the curve wasn't showing on Android at all (hard to tell due to
MessageRepliesAvatars
sitting over it)🛠 Implementation details
flexDirection: row
to the message-replies container🎨 UI Changes
iOS
Before -
After -
Android
Before -
After -
🧪 Testing
☑️ Checklist
develop
branch