From c9d06d10d4e936ee4f741ec2fecca7f91ca61997 Mon Sep 17 00:00:00 2001 From: Claire Date: Fri, 16 Jun 2023 12:03:06 +0200 Subject: [PATCH] Fix non-interactive upload container being given a `button` role and tabIndex (#25462) --- app/javascript/mastodon/features/compose/components/upload.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/javascript/mastodon/features/compose/components/upload.jsx b/app/javascript/mastodon/features/compose/components/upload.jsx index 9075f206254..a18134b0f07 100644 --- a/app/javascript/mastodon/features/compose/components/upload.jsx +++ b/app/javascript/mastodon/features/compose/components/upload.jsx @@ -46,7 +46,7 @@ export default class Upload extends ImmutablePureComponent { const y = ((focusY / -2) + .5) * 100; return ( -
+
{({ scale }) => (