Skip to content

Commit

Permalink
Fix corner case
Browse files Browse the repository at this point in the history
  • Loading branch information
gaearon committed Dec 1, 2024
1 parent f3ae134 commit fc3ddd9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/view/com/pager/TabBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -224,6 +224,9 @@ export function TabBar({
opacity: 0,
}
}
if (layoutsValue.length === 1) {
return {opacity: 1}
}
return {
opacity: 1,
transform: [
Expand Down

0 comments on commit fc3ddd9

Please sign in to comment.