mirror of
https://github.com/DocNR/POWR.git
synced 2025-06-06 18:31:03 +00:00
fixed swipe on material top tabs
This commit is contained in:
parent
8c7db4e778
commit
b3cca43769
@ -49,8 +49,10 @@ export default function LibraryScreen() {
|
|||||||
tabBarIndicatorStyle: {
|
tabBarIndicatorStyle: {
|
||||||
backgroundColor: colors.text,
|
backgroundColor: colors.text,
|
||||||
},
|
},
|
||||||
tabBarStyle: { backgroundColor: colors.card }
|
tabBarStyle: { backgroundColor: colors.card },
|
||||||
}}
|
swipeEnabled: true, // Enable swipe navigation
|
||||||
|
animationEnabled: true, // Enable animations when swiping
|
||||||
|
lazy: true }}
|
||||||
>
|
>
|
||||||
<Tab.Screen
|
<Tab.Screen
|
||||||
name="exercises"
|
name="exercises"
|
||||||
|
2
package-lock.json
generated
2
package-lock.json
generated
@ -54,7 +54,7 @@
|
|||||||
"react-dom": "18.3.1",
|
"react-dom": "18.3.1",
|
||||||
"react-native": "0.76.7",
|
"react-native": "0.76.7",
|
||||||
"react-native-gesture-handler": "~2.20.2",
|
"react-native-gesture-handler": "~2.20.2",
|
||||||
"react-native-pager-view": "^6.5.1",
|
"react-native-pager-view": "6.5.1",
|
||||||
"react-native-reanimated": "~3.16.1",
|
"react-native-reanimated": "~3.16.1",
|
||||||
"react-native-safe-area-context": "4.12.0",
|
"react-native-safe-area-context": "4.12.0",
|
||||||
"react-native-screens": "~4.4.0",
|
"react-native-screens": "~4.4.0",
|
||||||
|
@ -15,7 +15,9 @@
|
|||||||
"expo": {
|
"expo": {
|
||||||
"doctor": {
|
"doctor": {
|
||||||
"reactNativeDirectoryCheck": {
|
"reactNativeDirectoryCheck": {
|
||||||
"exclude": ["lucide-react-native"],
|
"exclude": [
|
||||||
|
"lucide-react-native"
|
||||||
|
],
|
||||||
"listUnknownPackages": false
|
"listUnknownPackages": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -66,7 +68,7 @@
|
|||||||
"react-dom": "18.3.1",
|
"react-dom": "18.3.1",
|
||||||
"react-native": "0.76.7",
|
"react-native": "0.76.7",
|
||||||
"react-native-gesture-handler": "~2.20.2",
|
"react-native-gesture-handler": "~2.20.2",
|
||||||
"react-native-pager-view": "^6.5.1",
|
"react-native-pager-view": "6.5.1",
|
||||||
"react-native-reanimated": "~3.16.1",
|
"react-native-reanimated": "~3.16.1",
|
||||||
"react-native-safe-area-context": "4.12.0",
|
"react-native-safe-area-context": "4.12.0",
|
||||||
"react-native-screens": "~4.4.0",
|
"react-native-screens": "~4.4.0",
|
||||||
@ -85,4 +87,4 @@
|
|||||||
"typescript": "^5.3.3"
|
"typescript": "^5.3.3"
|
||||||
},
|
},
|
||||||
"private": true
|
"private": true
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user