chatengine-io / react-chat-engine

React component for a cheap and easy chat API
138 stars 35 forks source link

Space bar inputs not behaving properly with the default new message form #158

Open pint-drinker opened 1 year ago

pint-drinker commented 1 year ago
          yes i am also seeing this as well. The space bar presses is the major issue for me. I may resort to a custom new massage form renderer in the interim. Here is a video demoing the space bar issues:

ezgif com-video-to-gif

Perhaps it has something to do with this line of code? where things are getting trimmed: https://github.com/chatengine-io/react-chat-engine/blob/master/src/components/ChatEngine/ChatFeed/NewMessageForm/index.js#L39

Originally posted by @pint-drinker in https://github.com/chatengine-io/react-chat-engine/issues/156#issuecomment-1465342091

L0ndra commented 1 year ago

I have same problem as well. Are you planing to fix this?

jamesonti commented 1 year ago

has anyone solved this yet ???

L0ndra commented 1 year ago

I fixed with taking code of NewMessage component and replacing it in ChatEngine component. I was going to create a fix in my repo, but somehow it fixed itself

dimitrisganotis commented 1 year ago

Hi! You could try this:

.ql-editor {
  white-space: unset !important;
}
Noplace0 commented 4 months ago

Hi! You could try this:

.ql-editor {
  white-space: unset !important;
}

this solved the problem! thanks for helping