Bluesky app fork with some witchin' additions 💫 witchsky.app
bluesky fork client
122
fork

Configure Feed

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

fix onEndReached issue by forcing flatlist to scroll (#3623)

authored by

Samuel Newman and committed by
GitHub
22e86c99 edbb18af

+19 -3
+14 -2
src/components/Dialog/index.web.tsx
··· 199 199 200 200 export function InnerFlatList({ 201 201 label, 202 + style, 202 203 ...props 203 204 }: FlatListProps<any> & {label: string}) { 205 + const {gtMobile} = useBreakpoints() 204 206 return ( 205 - <Inner label={label}> 206 - <FlatList {...props} /> 207 + <Inner 208 + label={label} 209 + // @ts-ignore web only -sfn 210 + style={{ 211 + paddingHorizontal: 0, 212 + maxHeight: 'calc(-36px + 100vh)', 213 + overflow: 'hidden', 214 + }}> 215 + <FlatList 216 + style={[gtMobile ? a.px_2xl : a.px_xl, flatten(style)]} 217 + {...props} 218 + /> 207 219 </Inner> 208 220 ) 209 221 }
+5 -1
src/components/dialogs/GifSelect.tsx
··· 147 147 <View 148 148 style={[ 149 149 a.absolute, 150 - {top: 0, left: 0, right: 0, height: '50%'}, 150 + a.inset_0, 151 + { 152 + borderBottomLeftRadius: 8, 153 + borderBottomRightRadius: 8, 154 + }, 151 155 t.atoms.bg, 152 156 ]} 153 157 />