From c57d50aa4e7cd83a07d5b9f97f17856d90e80e2d Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Thu, 2 Dec 2021 14:11:40 -0600 Subject: [PATCH] PullToRefresh: increase pull resistance and threshold --- app/soapbox/components/pull_to_refresh.js | 3 +++ 1 file changed, 3 insertions(+) diff --git a/app/soapbox/components/pull_to_refresh.js b/app/soapbox/components/pull_to_refresh.js index 6d315e687..9ff1e6c88 100644 --- a/app/soapbox/components/pull_to_refresh.js +++ b/app/soapbox/components/pull_to_refresh.js @@ -33,6 +33,9 @@ export default class PullToRefresh extends React.Component { pullingContent={null} // `undefined` will fallback to the default, while `null` will render nothing refreshingContent={onRefresh ? undefined : null} + pullDownThreshold={130} + maxPullDownDistance={130} + resistance={2} {...rest} > {children}