Skip to content

Commit 4c85e34

Browse files
authored
fix(scrollbar): fixed double scrollbar (#665)
1 parent 7e174f2 commit 4c85e34

File tree

1 file changed

+2
-1
lines changed
  • apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/workflow-block/components/sub-block/components

1 file changed

+2
-1
lines changed

apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/workflow-block/components/sub-block/components/long-input.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -302,12 +302,13 @@ export function LongInput({
302302
/>
303303
<div
304304
ref={overlayRef}
305-
className='pointer-events-none absolute inset-0 overflow-auto whitespace-pre-wrap break-words bg-transparent px-3 py-2 text-sm'
305+
className='pointer-events-none absolute inset-0 whitespace-pre-wrap break-words bg-transparent px-3 py-2 text-sm'
306306
style={{
307307
fontFamily: 'inherit',
308308
lineHeight: 'inherit',
309309
width: textareaRef.current ? `${textareaRef.current.clientWidth}px` : '100%',
310310
height: `${height}px`,
311+
overflow: 'hidden',
311312
}}
312313
>
313314
{formatDisplayText(value?.toString() ?? '', true)}

0 commit comments

Comments
 (0)