fix: pressing Space causes lists to scroll (#1551)

This commit is contained in:
Phan An 2022-10-24 18:15:19 +02:00 committed by GitHub
parent 13ffdcc648
commit ef001ba654
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -23,6 +23,7 @@ const togglePlayback = (e: KeyboardEvent) => {
return true
}
e.preventDefault()
playbackService.toggle()
return false