while I was looking for ux sites I found some interesting ui for chat bubbles. Which is,
Chat Bubble UI ref
After brainstorming several days, I couldn't figure out how to develop that. But I have found some approaches to that problem which I want your suggestions:
On the edges which bubbles intercepting there shouldn't be rounded corners and my approach for that problem is dividing each line to separate component, hold above line width & below line width compare and give dynamic styling to that component like:
{ borderTopRightRadius : 5, borderBottomRightRadius:0 } etc. The problem in that solution is I will have tons of components for each line and so many refs. I am kinda discouraged on that when I consider performance issues.
I am inviting you to do some brainstorming (not coding) and find an efficient way to solve my problem. Many thanks, who spends time to read that.
This is really interesting problem. Having more experience with web and react (rather than react native), I'll describe the way I would solve it in the browser.
opacity: 0
or visibility: none
)::before
) which would be the nice "transition" part (SVG for sure).I think you have to create element for each line (again I'm talking about the web). Border radius shouldn't create performance issues.
Let me know what you think, I may cook a small example for you when I catch time.