[Clipclops] Refactor message list (#3832)
* rework the list for accessibility * Reverse reverse * progress * good to start testing * memo `MessageItem` * small hack * use our custom `List` impl * use `ScrollProvider` for `onScroll` event * remove use of `runOnJS` * actually, let's keep it * add some comments --------- Co-authored-by: Eric Bailey <git@esb.lol>
This commit is contained in:
parent
6a4199febb
commit
876816675e
7 changed files with 160 additions and 97 deletions
|
|
@ -0,0 +1,6 @@
|
|||
import React from 'react'
|
||||
import {FlatList} from 'react-native'
|
||||
|
||||
// Stub for web
|
||||
// eslint-disable-next-line @typescript-eslint/no-unused-vars
|
||||
export function useScrollToEndOnFocus(flatListRef: React.RefObject<FlatList>) {}
|
||||
Loading…
Add table
Add a link
Reference in a new issue