create account

The effect of pull-to-refresh and suggested solution to it by ajibade

View this thread on: hive.blogpeakd.comecency.com
· @ajibade · (edited)
$14.07
The effect of pull-to-refresh and suggested solution to it
MEANING OF ''PULL-TO-REFRESH''

Pull-to-refresh is a visceral gesture that is popularized by  apps such as Facebook and Twitter. Pulling down on a feed and releasing creates new space for more recent posts to be loaded.  it  become so popular that mobile browser 'Chrome' on Android adopted the same effect in which swiping down at the top of the page refreshes the whole pages.
![Screenshot_20180110-003314.png](https://res.cloudinary.com/hpiynhbhq/image/upload/v1515540852/y541pafwtimi5rfcf2xy.png)

THE PULL-TO-REFRESH EFFECTS 
![pull-refresh-chrome-on-android.mp4xx.gif](https://steemitimages.com/DQmc1nk44GuowWHzJVxffiBVx4CNxPiK6xeqCmxrRCGmRj9/pull-refresh-chrome-on-android.mp4xx.gif)
pulling-to-refresh  has an effect on the  platform in which it give a lot of problem to members . When you pull down to refresh,  it take a very long period of time to refresh the entire page,  not only because of service network but also because of  the effectiveness of the pull-down-to-refresh gesture. This gesture also give the problem of taking the user of the platform  to an unknown site.
For situations like the Twitter, it might make sense to disable the native pull-to-refresh action because in this app, you probably don't want the user to to accidentally refresh tparticular he particular page. There is also the potential to see a double refresh animation! Alternatively, it might be nicer to custom the browser's action, aligning it more closely to the site's branding. The unfortunate part is that this type of customization has been tricky to pull off. Developers end up writing unnecessary JavaScript, add non-passive touch listeners (which block scrolling). These works have being well documented negatively in which havely in which have effects on the the scrolling performance.

![Screenshot_20180110-005448.png](https://steemitimages.com/DQmRWTeDrsn7HpHEYvBPywkw6rwQBK4JYaZskJPJ1uJPCJV/Screenshot_20180110-005448.png)

https://s19.postimg.org/5nkxb9wsj/Screenshot_20180110-000120.png

SUGGESTED SOLUTION

The introduction of ''overscroll-behavior''
![unnamed (1).gif](https://res.cloudinary.com/hpiynhbhq/image/upload/v1515554586/v8c2dp5zy8t39ilxaj8a.gif)
The overscroll-behavior property allows the the developersto override the browser's default overflow scroll behavior when reaching the top/bottom of content. Use cases include disabling the pull-to-refresh feature on mobile, removing overscroll glow and rubberbanding effects, and preventing page content from scrolling when it's beneath a modal/overlay.
![images (1).png](https://res.cloudinary.com/hpiynhbhq/image/upload/v1515555231/puccg62axpc8onfvyer1.png)
The property is a new feature that I personally have learnt on my research work inwhich will help in developing the pull-to-refresh gesture. The new features controls the behavior of what happens when you over-scroll a container (including the page itself). It can to used to cancel scroll chaining, disable/customize the pull-to-refresh action. The best part of this suggestion is that using overscroll-behavior does not adversely affect the entire page performance.

The property takes three possible values:

1. Auto - This also refers to what is called ''default''. Scrolls that originate on the element may propagate to ancestor elements.
2. Contain - This will prevent scroll chaining. Scrolls in this value do not propagate to ancestors but local effects within the node are shown. For example, the rubberbanding effect on the  iOS which notifies the user of the platform when they  hit a scroll boundary. Note: using overscroll-behavior: contain on the html element prevents overscroll navigation actions.
3. None - This is also the same as contain but it also prevents overscroll effects within the node itself (For example, Android overscroll glow or iOS rubberbanding).

<br /><hr/><em>Posted on <a href="https://utopian.io/utopian-io/@ajibade/the-effect-of-pull-to-refresh-and-suggested-solution-to-it">Utopian.io -  Rewarding Open Source Contributors</a></em><hr/>
👍  , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
properties (23)
authorajibade
permlinkthe-effect-of-pull-to-refresh-and-suggested-solution-to-it
categoryutopian-io
json_metadata{"community":"utopian","app":"steemit/0.1","format":"markdown","repository":{"id":58139380,"name":"pull-to-refresh","full_name":"eggswift/pull-to-refresh","html_url":"https://github.com/eggswift/pull-to-refresh","fork":false,"owner":{"login":"eggswift"}},"pullRequests":[],"platform":"github","type":"ideas","tags":["utopian-io","steemit","contributions","open-source","modification"],"links":["https://utopian.io/utopian-io/@ajibade/the-effect-of-pull-to-refresh-and-suggested-solution-to-it"],"image":["https://res.cloudinary.com/hpiynhbhq/image/upload/v1515540852/y541pafwtimi5rfcf2xy.png","https://steemitimages.com/DQmc1nk44GuowWHzJVxffiBVx4CNxPiK6xeqCmxrRCGmRj9/pull-refresh-chrome-on-android.mp4xx.gif","https://steemitimages.com/DQmRWTeDrsn7HpHEYvBPywkw6rwQBK4JYaZskJPJ1uJPCJV/Screenshot_20180110-005448.png","https://s19.postimg.org/5nkxb9wsj/Screenshot_20180110-000120.png","https://res.cloudinary.com/hpiynhbhq/image/upload/v1515554586/v8c2dp5zy8t39ilxaj8a.gif","https://res.cloudinary.com/hpiynhbhq/image/upload/v1515555231/puccg62axpc8onfvyer1.png"],"moderator":{"account":"tykee","pending":false,"reviewed":true,"flagged":false}}
created2018-01-10 00:01:30
last_update2018-01-12 08:30:09
depth0
children9
last_payout2018-01-17 00:01:30
cashout_time1969-12-31 23:59:59
total_payout_value9.846 HBD
curator_payout_value4.226 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length4,007
author_reputation478,877,447,742
root_title"The effect of pull-to-refresh and suggested solution to it"
beneficiaries
0.
accountutopian.pay
weight2,500
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id28,365,226
net_rshares1,616,208,045,850
author_curate_reward""
vote details (49)
@cheetah ·
Hi! I am a robot. I just upvoted you! I found similar content that readers might be interested in:
https://developers.google.com/web/updates/rss.xml
properties (22)
authorcheetah
permlinkcheetah-re-ajibadethe-effect-of-pull-to-refresh-and-suggested-solution-to-it
categoryutopian-io
json_metadata""
created2018-01-10 08:22:03
last_update2018-01-10 08:22:03
depth1
children0
last_payout2018-01-17 08:22:03
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length148
author_reputation942,693,160,055,713
root_title"The effect of pull-to-refresh and suggested solution to it"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id28,442,651
net_rshares0
@mariachan ·
@originalworks
properties (22)
authormariachan
permlinkre-ajibade-the-effect-of-pull-to-refresh-and-suggested-solution-to-it-20180117t132650746z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"users":["originalworks"],"app":"steemit/0.1"}
created2018-01-17 13:29:24
last_update2018-01-17 13:29:24
depth1
children0
last_payout2018-01-24 13:29:24
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length14
author_reputation8,034,608,246,109
root_title"The effect of pull-to-refresh and suggested solution to it"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id30,171,871
net_rshares0
@resteemable ·
**Your Post Has Been Featured on @Resteemable!** <br> Feature any Steemit post using resteemit.com! <br> **How It Works:** <br> 1. Take Any Steemit URL <br> 2. Erase `https://` <br> 3. Type `re`<br> Get Featured Instantly – Featured Posts are voted every 2.4hrs <br>[Join the Curation Team Here](streemian.com/profile/curationtrail/trailing/943)
properties (22)
authorresteemable
permlinkre-resteemable-the-effect-of-pull-to-refresh-and-suggested-solution-to-it-20180117t145216244z
categoryutopian-io
json_metadata""
created2018-01-17 14:52:15
last_update2018-01-17 14:52:15
depth1
children0
last_payout2018-01-24 14:52:15
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length345
author_reputation711,299,530,826
root_title"The effect of pull-to-refresh and suggested solution to it"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id30,188,429
net_rshares0
@steemvote ·
This post was resteemed by @steemvote and received a 46.71% Upvote
properties (22)
authorsteemvote
permlinkthe-effect-of-pull-to-refresh-and-suggested-solution-to-it2018-01-14
categoryutopian-io
json_metadata{"tags":[""],"app":"steemjs/steemvote"}
created2018-01-14 10:22:03
last_update2018-01-14 10:22:03
depth1
children0
last_payout2018-01-21 10:22:03
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length66
author_reputation1,560,643,521,824
root_title"The effect of pull-to-refresh and suggested solution to it"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id29,426,253
net_rshares0
@tykee ·
$0.10
Your contribution cannot be approved yet because it is not very  informative, what do you mean by overscroll-behavior?  Need to add more screen shot to make it more understanding.
Your Contributions need to be informative and descriptive in order to help readers and developers understand them.
you did not provide a lot of explanation and also did not provide information for the purpose and also benefit of your suggestion. Please consider editing your contribution to reapply for approval. Thank you.
You can contact us on [Discord](https://discord.gg/UCvqCsx).
**[[utopian-moderator]](https://utopian.io/moderators)**
👍  
properties (23)
authortykee
permlinkre-ajibade-the-effect-of-pull-to-refresh-and-suggested-solution-to-it-20180110t010812252z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"community":"utopian","app":"utopian/1.0.0"}
created2018-01-10 01:08:15
last_update2018-01-10 01:08:15
depth1
children1
last_payout2018-01-17 01:08:15
cashout_time1969-12-31 23:59:59
total_payout_value0.074 HBD
curator_payout_value0.022 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length621
author_reputation233,202,435,251,808
root_title"The effect of pull-to-refresh and suggested solution to it"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id28,376,013
net_rshares9,598,461,167
author_curate_reward""
vote details (1)
@ajibade ·
I have edited my contribution 
properties (22)
authorajibade
permlinkre-tykee-re-ajibade-the-effect-of-pull-to-refresh-and-suggested-solution-to-it-20180110t061447385z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"community":"utopian","app":"utopian/1.0.0"}
created2018-01-10 06:14:51
last_update2018-01-10 06:14:51
depth2
children0
last_payout2018-01-17 06:14:51
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length30
author_reputation478,877,447,742
root_title"The effect of pull-to-refresh and suggested solution to it"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id28,423,145
net_rshares0
@tykee ·
Thank you for the contribution. It has been approved. Note! your Title should be in lower case

You can contact us on [Discord](https://discord.gg/UCvqCsx).
**[[utopian-moderator]](https://utopian.io/moderators)**
properties (22)
authortykee
permlinkre-ajibade-the-effect-of-pull-to-refresh-and-suggested-solution-to-it-20180111t083955583z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"community":"utopian","app":"utopian/1.0.0"}
created2018-01-11 08:40:00
last_update2018-01-11 08:40:00
depth1
children1
last_payout2018-01-18 08:40:00
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length213
author_reputation233,202,435,251,808
root_title"The effect of pull-to-refresh and suggested solution to it"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id28,700,989
net_rshares0
@ajibade ·
Have done that sir.  Thank you very much for approving my contribution
properties (22)
authorajibade
permlinkre-tykee-re-ajibade-the-effect-of-pull-to-refresh-and-suggested-solution-to-it-20180112t110809307z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"app":"steemit/0.1"}
created2018-01-12 11:08:12
last_update2018-01-12 11:08:12
depth2
children0
last_payout2018-01-19 11:08:12
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length70
author_reputation478,877,447,742
root_title"The effect of pull-to-refresh and suggested solution to it"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id28,978,700
net_rshares0
@utopian-io ·
### Hey @ajibade I am @utopian-io. I have just upvoted you!
#### Achievements
- You have less than 500 followers. Just gave you a gift to help you succeed!
- This is your first accepted contribution here in Utopian. Welcome!
#### Suggestions
- Contribute more often to get higher and higher rewards. I wish to see you often!
- Work on your followers to increase the votes/rewards. I follow what humans do and my vote is mainly based on that. Good luck!
#### Get Noticed!
- Did you know project owners can manually vote with their own voting power or by voting power delegated to their projects? Ask the project owner to review your contributions!
#### Community-Driven Witness!
I am the first and only Steem Community-Driven Witness. <a href="https://discord.gg/zTrEMqB">Participate on Discord</a>. Lets GROW TOGETHER!
- <a href="https://v2.steemconnect.com/sign/account-witness-vote?witness=utopian-io&approve=1">Vote for my Witness With SteemConnect</a>
- <a href="https://v2.steemconnect.com/sign/account-witness-proxy?proxy=utopian-io&approve=1">Proxy vote to Utopian Witness with SteemConnect</a>
- Or vote/proxy on <a href="https://steemit.com/~witnesses">Steemit Witnesses</a>

[![mooncryption-utopian-witness-gif](https://steemitimages.com/DQmYPUuQRptAqNBCQRwQjKWAqWU3zJkL3RXVUtEKVury8up/mooncryption-s-utopian-io-witness-gif.gif)](https://steemit.com/~witnesses)

**Up-vote this comment to grow my power and help Open Source contributions like this one. Want to chat? Join me on Discord https://discord.gg/Pc8HG9x**
properties (22)
authorutopian-io
permlinkre-ajibade-the-effect-of-pull-to-refresh-and-suggested-solution-to-it-20180112t115436469z
categoryutopian-io
json_metadata{"tags":["utopian-io"],"community":"utopian","app":"utopian/1.0.0"}
created2018-01-12 11:54:36
last_update2018-01-12 11:54:36
depth1
children0
last_payout2018-01-19 11:54:36
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length1,524
author_reputation152,955,367,999,756
root_title"The effect of pull-to-refresh and suggested solution to it"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id28,986,591
net_rshares0