kopia lustrzana https://gitlab.com/soapbox-pub/soapbox
PullToRefresh: increase pull resistance and threshold
rodzic
0796dc359c
commit
c57d50aa4e
|
@ -33,6 +33,9 @@ export default class PullToRefresh extends React.Component {
|
||||||
pullingContent={null}
|
pullingContent={null}
|
||||||
// `undefined` will fallback to the default, while `null` will render nothing
|
// `undefined` will fallback to the default, while `null` will render nothing
|
||||||
refreshingContent={onRefresh ? undefined : null}
|
refreshingContent={onRefresh ? undefined : null}
|
||||||
|
pullDownThreshold={130}
|
||||||
|
maxPullDownDistance={130}
|
||||||
|
resistance={2}
|
||||||
{...rest}
|
{...rest}
|
||||||
>
|
>
|
||||||
{children}
|
{children}
|
||||||
|
|
Ładowanie…
Reference in New Issue