Post not yet marked as solved
Post marked as unsolved with 0 replies, 140 views
I want to get user's dictation content and do something.
However, during dictation progress, system will continuously trigger 'input' DOM event with duplicated strings. It is impossible to know whether the dictation progress is end to get the final result.
Several solutions here:
provide specific field, like dictationStatus: end in input event params.
trigger composition event instead of input event
trigger specific DOM event when user presses on the dictation button.
trigger input event only with latest recognized string.
for example, I say " I like apple" will get 3 events with strings: "I" "like" "apple" ( not "I" "I like" "I like apple")