Skip to content

Conversation

@marcosholgado
Copy link
Contributor

@marcosholgado marcosholgado commented Feb 18, 2021

Task/Issue URL: https://app.asana.com/0/1125189844152671/1199888021167463
Tech Design URL:
CC:

Description:
This PR changes how we enable swipe to refresh so it only happens once a website is clamped at the top AND a new gesture begins. This should fix #1081

Steps to test this PR:

  1. Go to any site with scrollable content, i.e. https://m.xkcd.com/2425/
  2. When the page loads for the first time, pulling to refresh should be enabled.
  3. Scroll down a bit, then up to reach the top and then back again all within the same gesture.
  4. Pull to refresh should not be activated.
  5. Pull to refresh is only enabled if the site is clamped at the top and you being a new gesture.

Internal references:

Software Engineering Expectations
Technical Design Template

@marcosholgado marcosholgado marked this pull request as ready for review February 18, 2021 14:40
Copy link
Contributor

@malmstein malmstein left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just a comment regarding naming, this is really nice @marcosholgado !

@marcosholgado marcosholgado merged commit f5e4d01 into develop Feb 22, 2021
@marcosholgado marcosholgado deleted the feature/marcos/fix_pull_to_refresh branch February 22, 2021 16:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Swipe down to refresh too sensitive

2 participants