make scrollview automatically adapt to footer height

This commit is contained in:
Samuel Newman
2025-06-19 22:46:12 +03:00
parent 95f9cc1ed5
commit df975ddcfa
10 changed files with 199 additions and 161 deletions
+1 -5
View File
@@ -40,11 +40,7 @@ export function useMinimalShellFooterTransform() {
opacity: Math.pow(1 - footerModeValue, 2),
transform: [
{
translateY: interpolate(
footerModeValue,
[0, 1],
[0, footerHeight.get()],
),
translateY: interpolate(footerModeValue, [0, 1], [0, footerHeight]),
},
],
}