Bluesky app fork with some witchin' additions 💫
0
fork

Configure Feed

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

Fix scrolling for labeler profiles (#4286)

authored by

dan and committed by
GitHub
9d4622e7 8de02838

+5 -10
+3 -8
src/view/com/util/Views.jsx
··· 1 - import React from 'react' 2 1 import {View} from 'react-native' 3 2 import Animated from 'react-native-reanimated' 4 3 4 + // If you explode these into functions, don't forget to forwardRef! 5 5 export const FlatList_INTERNAL = Animated.FlatList 6 - export function CenteredView(props) { 7 - return <View {...props} /> 8 - } 9 - 10 - export function ScrollView(props) { 11 - return <Animated.ScrollView {...props} /> 12 - } 6 + export const CenteredView = View 7 + export const ScrollView = Animated.ScrollView
+2 -2
src/view/com/util/Views.web.tsx
··· 31 31 desktopFixedHeight?: boolean | number 32 32 } 33 33 34 - export function CenteredView({ 34 + export const CenteredView = React.forwardRef(function CenteredView({ 35 35 style, 36 36 sideBorders, 37 37 topBorder, ··· 58 58 style = addStyle(style, pal.border) 59 59 } 60 60 return <View style={style} {...props} /> 61 - } 61 + }) 62 62 63 63 export const FlatList_INTERNAL = React.forwardRef(function FlatListImpl<ItemT>( 64 64 {