From 0dcacea6e5cc1024282870f81e3176483f99031b Mon Sep 17 00:00:00 2001 From: Plastikmensch Date: Thu, 16 Feb 2023 04:23:41 +0100 Subject: [PATCH] Add `bindToDocument` attribute to account columns Fixes scrolling to top when viewing profiles in simple UI. Signed-off-by: Plastikmensch --- .../flavours/glitch/features/account_gallery/index.jsx | 2 +- .../flavours/glitch/features/account_timeline/index.jsx | 2 +- app/javascript/flavours/glitch/features/followers/index.jsx | 2 +- app/javascript/flavours/glitch/features/following/index.jsx | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/javascript/flavours/glitch/features/account_gallery/index.jsx b/app/javascript/flavours/glitch/features/account_gallery/index.jsx index d3f845ddc4..f943c1c78c 100644 --- a/app/javascript/flavours/glitch/features/account_gallery/index.jsx +++ b/app/javascript/flavours/glitch/features/account_gallery/index.jsx @@ -200,7 +200,7 @@ class AccountGallery extends ImmutablePureComponent { } return ( - + diff --git a/app/javascript/flavours/glitch/features/account_timeline/index.jsx b/app/javascript/flavours/glitch/features/account_timeline/index.jsx index cf99a1f569..e2bcc3bfee 100644 --- a/app/javascript/flavours/glitch/features/account_timeline/index.jsx +++ b/app/javascript/flavours/glitch/features/account_timeline/index.jsx @@ -184,7 +184,7 @@ class AccountTimeline extends ImmutablePureComponent { const remoteMessage = remote ? : null; return ( - + : null; return ( - + : null; return ( - +