Skip to content

Commit fa1f5f4

Browse files
authored
πŸ› fix scrolling flicker on agent creation
2 parents 3aad19d + 9d3d63b commit fa1f5f4

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

β€Žfrontend/app/[locale]/agents/components/agent/AgentConfigModal.tsxβ€Ž

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -741,6 +741,7 @@ export default function AgentConfigModal({
741741
<div className="flex-1 min-h-0">
742742
<SimplePromptEditor
743743
value={localDutyContent}
744+
height="100%"
744745
onChange={(value: string) => {
745746
setLocalDutyContent(value);
746747
// Immediate update to parent component
@@ -758,6 +759,7 @@ export default function AgentConfigModal({
758759
<div className="flex-1 min-h-0">
759760
<SimplePromptEditor
760761
value={localConstraintContent}
762+
height="100%"
761763
onChange={(value: string) => {
762764
setLocalConstraintContent(value);
763765
// Immediate update to parent component
@@ -775,6 +777,7 @@ export default function AgentConfigModal({
775777
<div className="flex-1 min-h-0">
776778
<SimplePromptEditor
777779
value={localFewShotsContent}
780+
height="100%"
778781
onChange={(value: string) => {
779782
setLocalFewShotsContent(value);
780783
// Immediate update to parent component

0 commit comments

Comments
Β (0)