Bluesky app fork with some witchin' additions 💫
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

[Clipclops] adjust scroll position, keyboard color (#3771)

* use the correct keyboard appearance based on theme

* i guess the min index should be 1

authored by

Hailey and committed by
GitHub
268e30d2 611ff0c7

+4 -3
+1
src/screens/Messages/Conversation/MessageInput.tsx
··· 47 47 onFocus={onFocus} 48 48 onBlur={onBlur} 49 49 placeholderTextColor={t.palette.contrast_500} 50 + keyboardAppearance={t.name === 'light' ? 'light' : 'dark'} 50 51 ref={inputRef} 51 52 /> 52 53 <Pressable
+3 -3
src/screens/Messages/Conversation/MessagesList.tsx
··· 172 172 keyExtractor={item => item.message.id} 173 173 renderItem={renderItem} 174 174 contentContainerStyle={{paddingHorizontal: 10}} 175 + inverted={true} 175 176 // In the future, we might want to adjust this value. Not very concerning right now as long as we are only 176 177 // dealing with text. But whenever we have images or other media and things are taller, we will want to lower 177 178 // this...probably. 178 179 initialNumToRender={20} 179 180 // Same with the max to render per batch. Let's be safe for now though. 180 181 maxToRenderPerBatch={25} 181 - inverted={true} 182 + removeClippedSubviews={true} 182 183 onEndReached={onEndReached} 183 184 onScrollToIndexFailed={onScrollToEndFailed} 184 185 onContentSizeChange={onContentSizeChange} 185 186 onViewableItemsChanged={onViewableItemsChanged} 186 187 viewabilityConfig={viewabilityConfig} 187 188 maintainVisibleContentPosition={{ 188 - minIndexForVisible: 0, 189 + minIndexForVisible: 1, 189 190 }} 190 191 ListFooterComponent={<MaybeLoader isLoading={false} />} 191 - removeClippedSubviews={true} 192 192 ref={flatListRef} 193 193 keyboardDismissMode="none" 194 194 />