Skip to content

Synthesis of "input hint expecting" should be interrupted by typing or microphone button  #2518

@compulim

Description

@compulim

Version

master

Describe the bug

When an activity with inputHint: 'expectingInput' is being synthesized, it should be:

  • Turn on the microphone after synthesis completed
  • Synthesis is being interrupted when start typing on the keyboard
  • Synthesis is being interrupted when the user click on microphone button again

To Reproduce

Steps to reproduce the behavior:

  1. Navigate to playground
  2. Say "input hint expecting"
  3. While the bot respond is being synthesized:
    1. Type on the send box
    2. Click on the microphone button and is not grayed out

Expected behavior

The synthesis should be interrupted. If the microphone button is clicked, it should turn on the microphone and start recognizing immediately.

Additional context

Also test on Safari.

[Bug]

Metadata

Metadata

Assignees

No one assigned

    Labels

    area-speechbugIndicates an unexpected problem or an unintended behavior.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions