stream-chat-react
stream-chat-react copied to clipboard
bug: combination of number and period
Describe the bug
A clear and concise description of what the bug is.
To Reproduce
Steps to reproduce the behavior: When I enter the combination of number and period in the input box, the message is disappeared.
Expected behavior
A clear and concise description of what you expected to happen.
If applicable, add screenshots to help explain your problem.
Package version
- stream-chat-react: 8.1.1
- stream-chat-css: 2.9.0
- stream-chat-js: 6.5.0
Desktop (please complete the following information):
- OS: mac, windows
- Browser: chrome
- Version: lastest
Smartphone (please complete the following information):
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]
Additional context
Add any other context about the problem here.
Thank you for the report, this seems like a bug on our side. We will investigate it in our next release cycle.
Do you have any plan to fix the bug? Please let me know when will fix it.
@YohaanYoon I can't seem to replicate the problem in this basic sandbox. Can you provide some more details about your environment? If possible, please fork the setup so that we can replicate the problem on our side.
As you mentioned, the demo app does not reproduce the issue. I will check it.
@petyosi The MessageList and MessageInput code is as follows:
return (
<div>
<S.AppBar />
<Chat client={chatClient} theme="messaging light" i18nInstance={i18n}>
<Channel channel={channel}>
<Window>
<MessageList
messageActions={MESSAGE_ACTIONS_CLASSTALK}
/>
<MessageInput
doFileUploadRequest={doFileUploadRequest}
doImageUploadRequest={doFileUploadRequest}
/>
</Window>
<Thread />
</Channel>
</Chat>
</div>
);
I have one question. Do you know why combination of number and period is converted to <ol><li>
not <p>
?
Please refer to attached image.
I'm not 100% what you mean, but in general, this can be due to the built-in markdown processing. Check this - https://markdownlivepreview.com/
I will check it. Thanks
Blocked by #1560.
Closing, resolved in #1824.