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

View file

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