beyondcode / laravel-websockets-demo

Demo application to use with the Laravel WebSockets package.
https://docs.beyondco.de/laravel-websockets/
403 stars 164 forks source link

user is typing for ever #3

Closed george-kar closed 10 months ago

george-kar commented 5 years ago

Although the message "user typing" appears when user is typing, it doesn't disappear when the user stops typing. is it a bug or not implemented?

redalpha01 commented 4 years ago

If you look at the js, the code is implemented so that "typing" starts when any char is entered and finishes only when a messages is sent. Obviously you can change that behaviour.

sjorspeterse commented 4 years ago

I agree that this is odd default behaviour. I think adding this feature will demonstrate even better the real-timeness that is possible.