diff --git a/templates/common/base.html b/templates/common/base.html
index bd281e76..cd90f39b 100644
--- a/templates/common/base.html
+++ b/templates/common/base.html
@@ -341,6 +341,8 @@ explicit grant from the SFTPGo Team (support@sftpgo.com).
});
initLocalizer();
+ // Workaround to fix scrollbar in navigation sidebar.
+ window.dispatchEvent(new Event('resize'));
});
{{- end}}