Live video on the AT Protocol

Merge pull request #868 from streamplace/natb/concerningly-close-chatbox

fix: offset resizable up a lil

authored by

Eli Mallon and committed by
GitHub
5300bb8d 3aa89046

+5 -1
+2 -1
js/components/src/components/ui/resizeable.tsx
··· 95 95 translateY: 96 96 slideKeyboard + 97 97 Math.max(0, -sheetHeight.value) + 98 - (slideKeyboard < 0 ? 0 : -safeBottom), 98 + (slideKeyboard < 0 ? 0 : -safeBottom) - 99 + (Math.abs(slideKeyboard) > 1 ? 32 : 16), 99 100 }, 100 101 ], 101 102 }));
+3
js/components/src/components/ui/textarea.tsx
··· 5 5 import * as React from "react"; 6 6 import { Platform, TextInput, type TextInputProps } from "react-native"; 7 7 import { bg, borders, flex, p, text } from "../../lib/theme/atoms"; 8 + import { useTheme } from "../../ui"; 8 9 9 10 const Textarea = React.forwardRef<TextInput, TextInputProps>( 10 11 ({ style, multiline = true, numberOfLines = 4, ...props }, ref) => { 12 + let th = useTheme(); 11 13 // Detect if we're inside a bottom sheet 12 14 let isInBottomSheet = false; 13 15 try { ··· 41 43 multiline={multiline} 42 44 numberOfLines={numberOfLines} 43 45 textAlignVertical="top" 46 + placeholderTextColor={th.theme.colors.textMuted} 44 47 {...props} 45 48 /> 46 49 );