mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-20 11:51:52 +03:00
add throttle to scrollview
This commit is contained in:
parent
903a149d99
commit
f818ebc00e
@ -183,7 +183,11 @@ class PostDisplayView extends PureComponent {
|
||||
|
||||
return (
|
||||
<View style={styles.container}>
|
||||
<ScrollView style={styles.scroll} onScroll={event => this._handleOnScroll(event)}>
|
||||
<ScrollView
|
||||
style={styles.scroll}
|
||||
onScroll={event => this._handleOnScroll(event)}
|
||||
scrollEventThrottle={16}
|
||||
>
|
||||
{parentPost && <ParentPost post={parentPost} />}
|
||||
|
||||
<View style={styles.header}>
|
||||
|
@ -200,6 +200,7 @@ class ProfileView extends PureComponent {
|
||||
<ScrollView
|
||||
onScroll={this._handleOnScroll}
|
||||
contentContainerStyle={styles.scrollContentContainer}
|
||||
scrollEventThrottle={16}
|
||||
>
|
||||
<Comments
|
||||
isProfilePreview
|
||||
|
@ -64,6 +64,7 @@ const WalletView = ({ setEstimatedWalletValue, selectedUser, handleOnScroll }) =
|
||||
/>
|
||||
}
|
||||
contentContainerStyle={styles.scrollContentContainer}
|
||||
scrollEventThrottle={16}
|
||||
>
|
||||
{!walletData ? (
|
||||
<Fragment>
|
||||
|
Loading…
Reference in New Issue
Block a user