JamesBrill / react-speech-recognition

💬Speech recognition for your React app
https://webspeechrecognition.com/
MIT License
637 stars 116 forks source link

resetTranscript function doesn't clear the previous value sometimes #172

Closed rtnAyush closed 1 year ago

rtnAyush commented 1 year ago

i made a react app where user will tap on boxes and if they want they can add some message why they click on box, and i stored it into data bse, but in continuous switching and clicking and adding comment between boxes, sometime previous box comment appear while adding comment to the currunt box, i do use resetTranscript after adding comment, but it happend many times, why should i do? i removed this libary with react-speech-kit and that above problem solved but this react-speech-kit is outdated with react@18 so conerting speech to text not smooth

rtnAyush commented 1 year ago

Ok sir it's working now, with adding resetTranscript function multiple times