Skip to content

Connect, collaborate, and grow with a community of TypeScript developers

Fix: scroll to top of really long solution (#1024)

Oreoluwa Bimbo-Salami429133d6715f
diff --git a/apps/web/src/app/[locale]/challenge/[slug]/solutions/_components/solution-editor.tsx b/apps/web/src/app/[locale]/challenge/[slug]/solutions/_components/solution-editor.tsx
index bef1f802..ec453514 100644
--- a/apps/web/src/app/[locale]/challenge/[slug]/solutions/_components/solution-editor.tsx
+++ b/apps/web/src/app/[locale]/challenge/[slug]/solutions/_components/solution-editor.tsx
@@ -117,7 +117,7 @@ export function SolutionEditor({ dismiss, challenge }: Props) {
Post
</Button>
</div>
- <div className="flex flex-1 flex-col">
+ <div className="flex flex-1 flex-col overflow-auto">
<FormField
control={form.control}
name="content"