mirror of
https://github.com/simstudioai/sim.git
synced 2026-01-09 23:17:59 -05:00
Fixed scrolling on long input and short input
This commit is contained in:
@@ -329,6 +329,7 @@ function WorkflowCanvas() {
|
||||
nodesConnectable={true}
|
||||
nodesDraggable={true}
|
||||
draggable={false}
|
||||
noWheelClassName="allow-scroll"
|
||||
>
|
||||
<Background />
|
||||
</ReactFlow>
|
||||
|
||||
@@ -16,7 +16,7 @@ export function LongInput({
|
||||
|
||||
return (
|
||||
<Textarea
|
||||
className="w-full resize-none placeholder:text-muted-foreground/50"
|
||||
className="w-full resize-none placeholder:text-muted-foreground/50 allow-scroll"
|
||||
rows={3}
|
||||
placeholder={placeholder ?? ''}
|
||||
value={value?.toString() ?? ''}
|
||||
|
||||
@@ -25,7 +25,7 @@ export function ShortInput({
|
||||
|
||||
return (
|
||||
<Input
|
||||
className="w-full placeholder:text-muted-foreground/50"
|
||||
className="w-full placeholder:text-muted-foreground/50 allow-scroll"
|
||||
placeholder={placeholder ?? ''}
|
||||
type="text"
|
||||
value={displayValue}
|
||||
|
||||
Reference in New Issue
Block a user