mirror of
https://github.com/balzack/databag.git
synced 2025-04-21 00:55:16 +00:00
testing android scroll events
This commit is contained in:
parent
7441f46dc7
commit
31a70500af
@ -54,9 +54,7 @@ export function ConversationBody() {
|
||||
<FlatList
|
||||
ref={ref}
|
||||
data={state.topics}
|
||||
onMomentumScrollBegin={actions.setMomentum}
|
||||
onMomentumScrollEnd={actions.clearMomentum}
|
||||
onScrollBeginDrag={actions.unlatch}
|
||||
onScrollEndDrag={actions.unlatch}
|
||||
maintainVisibleContentPosition={ state.latched ? null : { minIndexForVisibile: 2, } }
|
||||
inverted={true}
|
||||
renderItem={({item}) => (<TopicItem item={item} />)}
|
||||
|
Loading…
x
Reference in New Issue
Block a user