From c5756c0e7fd55c85c4cfd6cee5ceda14f8de1a7f Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Fri, 18 Nov 2022 18:42:21 -0600 Subject: [PATCH] Audio: prevent focusing the status when clicked Fixes https://gitlab.com/soapbox-pub/soapbox/-/issues/1191 --- app/soapbox/features/audio/index.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/app/soapbox/features/audio/index.tsx b/app/soapbox/features/audio/index.tsx index 0bef3c3d92..ecbae5b166 100644 --- a/app/soapbox/features/audio/index.tsx +++ b/app/soapbox/features/audio/index.tsx @@ -449,6 +449,7 @@ const Audio: React.FC = (props) => { onMouseLeave={handleMouseLeave} tabIndex={0} onKeyDown={handleKeyDown} + onClick={e => e.stopPropagation()} >