Skip to content

Commit b07b904

Browse files
fix: show custom option in easing dropdow only when used (#4290)
1 parent 2337551 commit b07b904

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

apps/builder/app/builder/features/style-panel/sections/transitions/transition-timing.tsx

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -88,9 +88,11 @@ export const TransitionTiming = ({
8888
</SelectItem>
8989
);
9090
})}
91-
<SelectItem key="custom" value="custom">
92-
Custom
93-
</SelectItem>
91+
{value === "custom" && (
92+
<SelectItem key="custom" value="custom">
93+
Custom
94+
</SelectItem>
95+
)}
9496
</SelectGroup>
9597
<SelectGroup>
9698
<SelectLabel>Ease In</SelectLabel>

0 commit comments

Comments
 (0)