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

Notes hang when window loses focus #7

Open
bgins opened this issue Dec 31, 2022 · 0 comments
Open

Notes hang when window loses focus #7

bgins opened this issue Dec 31, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@bgins
Copy link
Owner

bgins commented Dec 31, 2022

Summary

Problem

Notes can hang when the window loses focus and the user releases held notes.

Impact

Hung notes. The user has to pause and restart the audio to stop them.

Solution

The Page Visibility API may help in some cases like switching browser tabs, but will not work when a developer switches to another application and the browser window is still visible.

Window blur events might be a better overall solution.

@bgins bgins added the bug Something isn't working label Dec 31, 2022
@bgins bgins self-assigned this Dec 31, 2022
@bgins bgins changed the title Fix notes hang when the window loses focus Notes hang when the window loses focus Dec 31, 2022
@bgins bgins changed the title Notes hang when the window loses focus Notes hang when window loses focus Dec 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant