2 ms·
The play button is focused, and pressing Space activates a button. So it resumes playback. Then the key handler kicks in, and recognises that Space should pause
by chrismorgan 6y ago
The play button is focused, and pressing Space activates a button. So it resumes playback. Then the key handler kicks in, and recognises that Space should pause playback, so it does that.
(I don’t know which order the two things happen in, but clearly they should make sure both don’t happen.)