Components
Hey team, I wanted to test our new chat on mobile, and realised the behaviour of the composer is pretty horrible, if not unusable. To give you some context: I was just writing some text using the composer I have a Samsung galaxy S21+ (Android) - no idea on Apple side, I'll check What happens? I guess due to the way input are handled (different from a basic html text area), when I 1/ Use a recommended word on my keyboard fails, it adds the full word and does not replace the start e.g. I type "Compo" keyboard suggests the word "Component" I click on this suggestion then what I have in the composer is "CompoComposer" (instead of removing "Compo") 2/ Erasing a word messes up everything e.g. When I hold the delete button it just starts erasing one letter or 2 and then skips the word (which is not erased) and the cursor goes back to the beginning It's super weird, but we'd really love to be mobile friendly, so this is going to be a must 🙏 Thank you for your help as always ! Keep up the awesome work
We started integrating with Cord and we want to display messages using our own custom component. Everything works great but we don’t know how to make edition work. Is it possible to use `Composer` component or some other to edit existing message? Do you have maybe some example of it? We would like to avoid writing custom editor because the one provided by you works really well.
Hey! I'm trying to simulate the collapsed state of this thread, but I don't see any handler that is called when the "Reply" button is clicked. How should I detect that the user clicked on that button to update `collapsed` to `true`?
Composer component onSend prop does not return form event as callback, only thread id and other thread information
Hey there :) Do you have any tricks to style the composer a bit more? Maybe a CSS trick I'm missing or something else ? I'd love to make it look more or less like this (chaging the icons of @, emoji and attachement buttons + changing the text in the button, etc...)
Passing composerDisabled still allows writing a message (although sending the message is not enabled)
1
Apr 12
We have a problem with building our app when using Cord. We use Repack as our development build system and we get the following error: ``` Cannot create property 'displayName' on number 'Infinity' TypeError: Cannot create property 'displayName' on number 'Infinity'    at ./node_modules/.pnpm/phosphor-react@1.4.1_react@18.2.0/node_modules/phosphor-react/dist/icons/Infinity.esm.js (http://localhost:4200/vendors~node_modules_pnpm_react-final-form-arrays_3_1_4_final-form-arrays_3_1_0_final-form_4_~a3a081.js:175423:22) ``` The error is coming from the phosphor-react which is a dependency of Cord. From what I found they fixed it in the newer versions of this lib. Do you have some suggestions on how to fix it?
2
Apr 9
I want to learn how Cord makes live messages work, does it use websockets, short polling...