fix: Wrong initial position of tab animation (#1087)
Co-authored-by: hamster1963 <hamster1963@users.noreply.github.com>
This commit is contained in:
@@ -113,6 +113,9 @@ const TabsTrigger = React.forwardRef<HTMLDivElement, TabsTriggerProps>(
|
||||
{isSelect && (
|
||||
<m.span
|
||||
layoutId={layoutId}
|
||||
style={{
|
||||
originY: "0px",
|
||||
}}
|
||||
className={cn(
|
||||
"absolute",
|
||||
variant === "rounded"
|
||||
|
||||
Reference in New Issue
Block a user