# Pull to refresh functionality

**URL:** https://meta.discourse.org/t/pull-to-refresh-functionality/162009
**Category:** Feature
**Created:** [August 25, 2020, 11:41am UTC](https://meta.discourse.org/t/pull-to-refresh-functionality/162009 "2020-08-25T11:41:11Z")
**Posts on this page:** 16
**Page:** 1

<div class="post-metadata">

### Author: ![Terrapop](https://avatars.discourse-cdn.com/v4/letter/t/ecd19e/32.png) [@Terrapop](https://meta.discourse.org/u/Terrapop)
#### Post date: [August 25, 2020, 11:41am UTC](https://meta.discourse.org/t/pull-to-refresh-functionality/162009/1 "2020-08-25T11:41:11Z")

</div>

It would be nice if [@team](https://meta.discourse.org/groups/team) could think about adding “pull to refresh” functionality for mobile as you know from other social media apps like Twitter etc (at least for “latest” sections, possibly others make sense, too).

 ![image](https://global.discourse-cdn.com/meta/original/3X/a/1/a16563f1a25584ec6cd59741b13ebfe742f32aca.png)

Something simple with the current loading spinner would be fine.

Later, you could allow adding own CSS animations or animated gifs for giving Discourse forums another possibility for branding customization:

 ![1_GA_UPaFN6krQMhRb3lGiqw](https://global.discourse-cdn.com/meta/original/3X/7/6/76a139b20bbfa70b9b4fd30f469c678b5ce0ff4f.gif) ![recipe-finder](https://global.discourse-cdn.com/meta/original/3X/2/4/2491520db21b1f7eec75111f60e0061582f5e70f.gif)

[https://github.com/davidgoli/ember-cli-pull-to-refresh](https://github.com/davidgoli/ember-cli-pull-to-refresh)

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [August 25, 2020, 1:56pm UTC](https://meta.discourse.org/t/pull-to-refresh-functionality/162009/2 "2020-08-25T13:56:14Z")

</div>

Chrome does this by default on Android.

---

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [August 25, 2020, 1:57pm UTC](https://meta.discourse.org/t/pull-to-refresh-functionality/162009/3 "2020-08-25T13:57:09Z")

</div>

It works in Chrome in iOS too, just not in Safari or the Discourse Hub app.

The only place where this would be remotely useful is topic lists, but even then the user is already made aware of updates and can refresh from that update prompt.

---

<div class="post-metadata">

### Author: ![codinghorror](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/codinghorror/32/110067_2.png) [@codinghorror](https://meta.discourse.org/u/codinghorror)
#### Post date: [August 25, 2020, 7:21pm UTC](https://meta.discourse.org/t/pull-to-refresh-functionality/162009/4 "2020-08-25T19:21:41Z")

</div>

It doesn’t seem necessary to me, since Discourse has a dynamic update panel that appears automatically at the top of the page like so

 ![image](https://global.discourse-cdn.com/meta/original/3X/6/2/62442af9d32d4634df17f099f6469f79bda19eeb.png)

Tap or click that panel to get the updated info.

---

<div class="post-metadata">

### Author: ![Terrapop](https://avatars.discourse-cdn.com/v4/letter/t/ecd19e/32.png) [@Terrapop](https://meta.discourse.org/u/Terrapop)
#### Post date: [August 25, 2020, 7:30pm UTC](https://meta.discourse.org/t/pull-to-refresh-functionality/162009/5 "2020-08-25T19:30:11Z")

</div>

Fair enough. Works for Android anyways, just not on iOS.

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [August 26, 2020, 12:11am UTC](https://meta.discourse.org/t/pull-to-refresh-functionality/162009/6 "2020-08-26T00:11:24Z")

</div>

My only personal gripe is tap the banner is unreachable in mobile while operating with just one hand.

 ![image](https://global.discourse-cdn.com/meta/original/3X/3/9/393c789e7d9afd8a812592ba4b9de6277a9181e3.png)

---

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [August 26, 2020, 1:12am UTC](https://meta.discourse.org/t/pull-to-refresh-functionality/162009/7 "2020-08-26T01:12:36Z")

</div>

As it only affects iOS though and “reachability” is a thing across iPhones the banner can be reached from the ‘easy’ zone in the above.

---

<div class="post-metadata">

### Author: ![Terrapop](https://avatars.discourse-cdn.com/v4/letter/t/ecd19e/32.png) [@Terrapop](https://meta.discourse.org/u/Terrapop)
#### Post date: [August 26, 2020, 8:54am UTC](https://meta.discourse.org/t/pull-to-refresh-functionality/162009/8 "2020-08-26T08:54:55Z")

</div>

“Only” iOs? Almost 30% market share.

And the banner can’t be reached from “easy” zone… it kind of a little pain in iOs IMHO.

---

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [August 26, 2020, 1:34pm UTC](https://meta.discourse.org/t/pull-to-refresh-functionality/162009/9 "2020-08-26T13:34:39Z")

</div>

> [@Terrapop](#):
>
> And the banner can’t be reached from “easy” zone… it kind of a little pain in iOs IMHO.

Did you watch the video?

> [@Terrapop](#):
>
> Only” iOs? Almost 30% market share.

That’s the global average. In the UK iOS accounts for 46%, while in the US it’s closer to 60%.

---

<div class="post-metadata">

### Author: ![Terrapop](https://avatars.discourse-cdn.com/v4/letter/t/ecd19e/32.png) [@Terrapop](https://meta.discourse.org/u/Terrapop)
#### Post date: [August 29, 2020, 4:52pm UTC](https://meta.discourse.org/t/pull-to-refresh-functionality/162009/10 "2020-08-29T16:52:38Z")

</div>

Don’t know what to see in the video… the banner can’t be reached from the easy zone on iOS, it’s not in the lower-left corner. Re market shares, that’s even worse then for communities in Europe/US.

So, I’m still advocating for a proprietary pull-to-refresh solution for Discourse to have the same UX experience on mobile across devices. That’s why most other apps do it.

---

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [August 30, 2020, 12:10am UTC](https://meta.discourse.org/t/pull-to-refresh-functionality/162009/11 "2020-08-30T00:10:53Z")

</div>

> [@Terrapop](#):
>
> the banner can’t be reached from the easy zone on iOS

 ![reachability](https://global.discourse-cdn.com/meta/original/3X/f/d/fd768fc7f571870d4f02db4192a92452ae9b1a00.jpeg)

It absolutely is within the ‘easy’ region, that’s the whole reason the feature was added to iOS.

---

<div class="post-metadata">

### Author: ![Terrapop](https://avatars.discourse-cdn.com/v4/letter/t/ecd19e/32.png) [@Terrapop](https://meta.discourse.org/u/Terrapop)
#### Post date: [August 30, 2020, 2:59pm UTC](https://meta.discourse.org/t/pull-to-refresh-functionality/162009/12 "2020-08-30T14:59:19Z")

</div>

Can’t replicate this on my iPhone with Safari, how’s that possible? I’m on the latest iOS.

---

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [August 30, 2020, 3:01pm UTC](https://meta.discourse.org/t/pull-to-refresh-functionality/162009/13 "2020-08-30T15:01:44Z")

</div>

Trigger reachability. If it’s not turned on check settings/accessibility/touch.

It makes almost every app one-handed.

---

<div class="post-metadata">

### Author: ![Terrapop](https://avatars.discourse-cdn.com/v4/letter/t/ecd19e/32.png) [@Terrapop](https://meta.discourse.org/u/Terrapop)
#### Post date: [August 30, 2020, 3:26pm UTC](https://meta.discourse.org/t/pull-to-refresh-functionality/162009/14 "2020-08-30T15:26:24Z")

</div>

I did not even know about this. So not switched on by default? Means, you can assume 99% of users don’t have it on in iOS.

---

<div class="post-metadata">

### Author: ![Stephen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/stephen/32/95011_2.png) [@Stephen](https://meta.discourse.org/u/Stephen)
#### Post date: [August 31, 2020, 2:47am UTC](https://meta.discourse.org/t/pull-to-refresh-functionality/162009/15 "2020-08-31T02:47:28Z")

</div>

The lack of topics complaining about it over the last seven years would at least _suggest_ that this isn’t a significant problem.

---

<div class="post-metadata">

### Author: ![Terrapop](https://avatars.discourse-cdn.com/v4/letter/t/ecd19e/32.png) [@Terrapop](https://meta.discourse.org/u/Terrapop)
#### Post date: [September 7, 2020, 8:02am UTC](https://meta.discourse.org/t/pull-to-refresh-functionality/162009/16 "2020-09-07T08:02:29Z")

</div>

Fair enough, that is your personal opinion. I have a different one.

For those interested to have a better user experience for iOS users: It is possible to build a simple component for the mobile view with the lightweight pull2refresh library (7kb minified). We did it and it works now as expected on all mobile devices without the need for 2 clicks required on iOS with the hidden feature enabled.

[https://github.com/BoxFactura/pulltorefresh.js#api](https://github.com/BoxFactura/pulltorefresh.js#api)
