File tree Expand file tree Collapse file tree 1 file changed +1
-1
lines changed
packages/uikit-react-native/src/components/ChatFlatList Expand file tree Collapse file tree 1 file changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ const ChatFlatList = forwardRef<RNFlatList, Props>(function ChatFlatList(
32
32
) {
33
33
const { select } = useUIKitTheme ( ) ;
34
34
const contentOffsetY = useRef ( 0 ) ;
35
+ // FIXME: inverted list of ListEmptyComponent is reversed {@link https://github.com/facebook/react-native/issues/21196#issuecomment-836937743 }
35
36
const inverted = useRef ( props . inverted ?? Boolean ( props . data ?. length ) ) ;
36
37
37
38
const _onScroll = useFreshCallback < NonNullable < Props [ 'onScroll' ] > > ( ( event ) => {
@@ -78,7 +79,6 @@ const ChatFlatList = forwardRef<RNFlatList, Props>(function ChatFlatList(
78
79
keyboardShouldPersistTaps = { 'handled' }
79
80
indicatorStyle = { select ( { light : 'black' , dark : 'white' } ) }
80
81
{ ...props }
81
- // FIXME: inverted list of ListEmptyComponent is reversed {@link https://github.com/facebook/react-native/issues/21196#issuecomment-836937743 }
82
82
inverted = { inverted . current }
83
83
ref = { ref }
84
84
onEndReached = { onTopReached }
You can’t perform that action at this time.
0 commit comments