[Glitch] Fix erratic scroll-to-right on delete & redraft in Advanced UI

Port 71f9763e68 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
diondiondion authored and Claire committed 2026-03-10 18:12:54 +01:00
1 parent 5fdcac60b9
commit 7e57d00af6
3 files changed
+21 -12

No files matched your search

@@ -17,6 +17,9 @@ import { isDevelopment } from 'flavours/glitch/utils/environment';
interface MastodonLocationState {
fromMastodon?: boolean;
mastodonModalKey?: string;
// Prevent the rightmost column in advanced UI from scrolling
// into view on location changes
preventMultiColumnAutoScroll?: string;
}
export type LocationState = MastodonLocationState | null | undefined;