Skip to content

Automate browser based workflows with AI

Fix UI line lag when toggling Advanced Settings (#SKY-7702) (#4618)

Celal Zamanoglu66d6a8aa01d6
diff --git a/skyvern-frontend/src/routes/workflows/editor/edges/EdgeWithAddButton.tsx b/skyvern-frontend/src/routes/workflows/editor/edges/EdgeWithAddButton.tsx
index fe923888c..aff88a3c8 100644
--- a/skyvern-frontend/src/routes/workflows/editor/edges/EdgeWithAddButton.tsx
+++ b/skyvern-frontend/src/routes/workflows/editor/edges/EdgeWithAddButton.tsx
@@ -276,6 +276,7 @@ function EdgeWithAddButton({
style={{
position: "absolute",
transform: `translate(-50%, -50%) translate(${labelX}px,${labelY}px)`,
+ transition: "transform 0.2s ease-out",
fontSize: 12,
// everything inside EdgeLabelRenderer has no pointer events by default
// if you have an interactive element, set pointer-events: all
diff --git a/skyvern-frontend/src/routes/workflows/editor/reactFlowOverrideStyles.css b/skyvern-frontend/src/routes/workflows/editor/reactFlowOverrideStyles.css
index 7783f1397..6a6ef7cf2 100644
--- a/skyvern-frontend/src/routes/workflows/editor/reactFlowOverrideStyles.css
+++ b/skyvern-frontend/src/routes/workflows/editor/reactFlowOverrideStyles.css
@@ -16,18 +16,18 @@
/* Smooth transitions for node position and size changes */
.react-flow__node {
- transition: transform 0.3s ease-in-out;
+ transition: transform 0.2s ease-out;
}
/* Smooth transitions for edge position updates */
.react-flow__edge path,
.react-flow__edge-path {
- transition: d 0.3s ease-in-out;
+ transition: d 0.2s ease-out;
}
.react-flow__edge text,
.react-flow__edge-text {
- transition: transform 0.3s ease-in-out;
+ transition: transform 0.2s ease-out;
}
.react-flow__handle-top {