Fix corner case
This commit is contained in:
@@ -224,6 +224,9 @@ export function TabBar({
|
|||||||
opacity: 0,
|
opacity: 0,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
if (layoutsValue.length === 1) {
|
||||||
|
return {opacity: 1}
|
||||||
|
}
|
||||||
return {
|
return {
|
||||||
opacity: 1,
|
opacity: 1,
|
||||||
transform: [
|
transform: [
|
||||||
|
|||||||
Reference in New Issue
Block a user