sforkowany z mirror/soapbox
Audio: prevent focusing the status when clicked
Fixes https://gitlab.com/soapbox-pub/soapbox/-/issues/1191modal-video-fix
rodzic
48a03ed5bd
commit
c5756c0e7f
|
@ -449,6 +449,7 @@ const Audio: React.FC<IAudio> = (props) => {
|
|||
onMouseLeave={handleMouseLeave}
|
||||
tabIndex={0}
|
||||
onKeyDown={handleKeyDown}
|
||||
onClick={e => e.stopPropagation()}
|
||||
>
|
||||
<audio
|
||||
src={src}
|
||||
|
|
Ładowanie…
Reference in New Issue