Skip to content

'end' event listener cannot detect empty string #18

@v-stickykeys

Description

@v-stickykeys

If I pass "" for the props.text, speak() runs setting state.started and state.playing to true, but state.started never gets set to false by the 'end' event listener.

This means that when I pass in new props, they are not detected under the current logic defined within componentWillReceiveProps.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions