stream-chat-react-native icon indicating copy to clipboard operation
stream-chat-react-native copied to clipboard

Various markdown rendering issues

Open santhoshvai opened this issue 3 years ago • 6 comments

~Blockquotes are not respected~:

image

Table headers are hidden

for the input:

| # | Name   | Age 
|---|--------|-----|
| 1 | John   | 19  |
| 2 | Sally  | 18  |
| 3 | Stream | 20  |
image

~Inline links do not work as expected~

update: fixed

for the input:

You can also put some url as a link [like This](https://www.google.com) or write it as a plain text:
 https://www.google.com <[email protected]>
image

~custom styling is not working as expected~

update: fixed in https://github.com/GetStream/stream-chat-react-native/pull/2008

Reported by a customer in zendesk: https://getstream.zendesk.com/agent/tickets/26580

Padding is not respected for inline code elements. I think this is a React Native issue with next Text fields, but I'm not 100% sure. The SDK is setting padding here, but it isn't being respected. This can be seen in the Chat Sample iOS as well.

The styling for listItemNumber and listItemBullet are not being respected. For example, trying to change the color of the list number or change it from 'bold' to 'normal' does not affect what is rendered.

santhoshvai avatar Aug 19 '22 13:08 santhoshvai

Probably a copy of - https://github.com/GetStream/stream-chat-react-native/issues/1423

We can close either of them. @santhoshvai

khushal87 avatar Aug 19 '22 15:08 khushal87

Hey team! Please add your planning poker estimate with ZenHub @vishalnarkhede @santhoshvai @madsroskar

vanGalilea avatar Aug 30 '22 14:08 vanGalilea

update: customized styling for ordered and the unordered list was fixed in https://github.com/GetStream/stream-chat-react-native/pull/2008

santhoshvai avatar Mar 15 '23 09:03 santhoshvai

Current state for Inline links do not work as expected:

simulator_screenshot_C7A4C8E7-BCF2-43D0-AE19-5CEF9877A014

Same as React:

Screenshot 2024-02-27 at 6 44 46 PM

khushal87 avatar Feb 27 '24 13:02 khushal87