Closed gavinhenderson closed 4 years ago
This PR fixes #218 by wrapping the call to the speechSynthesis API in a setTimeout (that waits for 0ms) so that chrome can delay the call for a few microtasks which gives it time to load the voices in.
speechSynthesis
I can see a bunch of failures to deploy to netlify but that just seems like timeouts? Do I need to do anything to make the checks pass?
That looks good to me locally. Big thankyou @gavinhenderson :)
This PR fixes #218 by wrapping the call to the
speechSynthesis
API in a setTimeout (that waits for 0ms) so that chrome can delay the call for a few microtasks which gives it time to load the voices in.