Skip to content

🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.

🐛 fix(chat-input): avoid an empty attachment scrollbar (#23390)

Lee Junhoab1fbf2b50e2
diff --git a/src/features/ChatInput/Desktop/ContextContainer/ContextList.tsx b/src/features/ChatInput/Desktop/ContextContainer/ContextList.tsx
index deee0ed566c..123443d5909 100644
--- a/src/features/ChatInput/Desktop/ContextContainer/ContextList.tsx
+++ b/src/features/ChatInput/Desktop/ContextContainer/ContextList.tsx
@@ -14,7 +14,7 @@ import ContextMotionItem, { CONTEXT_ITEM_GAP } from './ContextMotionItem';
import ElementItem from './ElementItem';
import SelectionItem from './SelectionItem';
-const styles = stylex.create({ container: { overflowX: 'scroll', width: '100%' } });
+const styles = stylex.create({ container: { width: '100%' } });
const ContextList = memo(() => {
const contextSelectionKey = useChatInputStore((s) => s.contextSelectionKey);