Skip to content

Commit 27d4cb7

Browse files
authored
fix(Tabs): incorrect animation when content is empty (#7354)
1 parent 7d0f4fc commit 27d4cb7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tab/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ export default createComponent({
6464
);
6565
}
6666

67-
if (!slotContent) {
67+
if (!slotContent && !parent.animated) {
6868
return;
6969
}
7070

0 commit comments

Comments
 (0)