From 43a03e62dcd1eecbace1c3a6a6d5fccb43b958cc Mon Sep 17 00:00:00 2001 From: miyuko Date: Sun, 26 Oct 2025 15:17:24 +0000 Subject: [PATCH] Fix scroll bar flicker. --- src/app.tsx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/app.tsx b/src/app.tsx index edaf05c..6c75cef 100644 --- a/src/app.tsx +++ b/src/app.tsx @@ -274,10 +274,10 @@ function AppContent() { setShareURL(url); } - function tabAndPanel({ key, title, titleStyle = {}, content }) { + function tabAndPanel({ key, title, titleStyle = {}, content, contentStyle = {} }) { return [ {title}, - {content} + {content} ]; } @@ -427,7 +427,8 @@ function AppContent() { actions={amaranthSourceEditorActions} padding={{ top: 10, bottom: 10 }} focus - /> + />, + contentStyle: { overflow: 'hidden' }, }) ];