Merge branch 'audio-focus' into 'develop'

Audio: prevent focusing the status when clicked

Closes #1191

See merge request soapbox-pub/soapbox!1918
This commit is contained in:
Alex Gleason 2022-11-19 10:29:16 +00:00
commit a7902421e5
1 changed files with 1 additions and 0 deletions

View File

@ -449,6 +449,7 @@ const Audio: React.FC<IAudio> = (props) => {
onMouseLeave={handleMouseLeave} onMouseLeave={handleMouseLeave}
tabIndex={0} tabIndex={0}
onKeyDown={handleKeyDown} onKeyDown={handleKeyDown}
onClick={e => e.stopPropagation()}
> >
<audio <audio
src={src} src={src}