FredrikOseberg / react-chatbot-kit

MIT License
301 stars 141 forks source link

Infinite loop when sending messages too fast #32

Closed dakicnikola closed 3 years ago

dakicnikola commented 3 years ago

If user types 4 or more messages too fast, bot bumps into an infinite loop answering on all of the questions all the time. It is reproducible on DocsBot too.

Let me show you what i mean, there is screen recording of DocsBot (and a .gif image made of recording) https://user-images.githubusercontent.com/52914678/110318164-72917e80-800d-11eb-9213-2523b8e0a04e.mov

Screen Recording 2021-03-08 at 12 53 50

FredrikOseberg commented 3 years ago

questions

Thanks, that's a nasty a bug. I'll investigate.

FredrikOseberg commented 3 years ago

Thanks a lot for the report, this should be fixed in 1.1.17.

dakicnikola commented 3 years ago

No problem, thank you for a great library 🥇