Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The status of useSpeechSynthesis is incorrect #2764

Closed
6 of 7 tasks
lainbo opened this issue Feb 14, 2023 · 0 comments · Fixed by #2774
Closed
6 of 7 tasks

The status of useSpeechSynthesis is incorrect #2764

lainbo opened this issue Feb 14, 2023 · 0 comments · Fixed by #2774

Comments

@lainbo
Copy link
Contributor

lainbo commented Feb 14, 2023

Describe the bug

The status of useSpeechSynthesis will remain at play when window.speechSynthesis.cancel() or window.speechSynthesis.pause() is executed.

In the official document, after starting to speak, clicking pause or stop will stop the sound, but the speak button will not be enabled again.

Official document has the same problem, so I didn't write another copy on codesendbox, but I can write reproducible example again if needed.

Maybe it has something to do with the Chrome update.

Reproduction

https://vueuse.org/core/useSpeechSynthesis/

System Info

System:
    OS: Windows 10 10.0.22621
    CPU: (12) x64 12th Gen Intel(R) Core(TM) i5-12400
    Memory: 2.40 GB / 15.75 GB
  Binaries:
    Node: 16.19.0 - D:\Softwares\nodejs\node.EXE
    Yarn: 1.22.19 - D:\Softwares\nodejs\yarn.CMD
    npm: 8.19.3 - D:\Softwares\nodejs\npm.CMD
  Browsers:
    Edge: Spartan (44.22621.1194.0), Chromium (110.0.1587.41)
    Internet Explorer: 11.0.22621.1

Used Package Manager

pnpm

Validations

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant