fix: Wrong initial position of tab animation (#1087)

Co-authored-by: hamster1963 <hamster1963@users.noreply.github.com>
This commit is contained in:
仓鼠
2024-10-24 08:51:16 +08:00
committed by GitHub
co-authored by hamster1963
parent 9778ce2037
commit bb2b350fe7
+3
View File
@@ -113,6 +113,9 @@ const TabsTrigger = React.forwardRef<HTMLDivElement, TabsTriggerProps>(
{isSelect && (
<m.span
layoutId={layoutId}
style={{
originY: "0px",
}}
className={cn(
"absolute",
variant === "rounded"