audio.play() stop to playing while I press another key on keyboard

前端 未结 0 1481
栀梦
栀梦 2020-12-06 14:28

I wrote a code on React that playing a sound on every "keydown" event. The problem is when I press a key and before the sound finishes to play, I pressing another

相关标签:
回答
  • 消灭零回复
提交回复
热议问题