Skip to content

[Products list] - Jarring animation on pull to refresh while offline #7037

Open
@selanthiraiyan

Description

@selanthiraiyan

Describe the bug
The animation after pull-to-refresh feels a bit jarring when the results stay empty (refreshing when the device remains offline) where the offline banner appears for a split second.
More details here

To Reproduce
Steps to reproduce the behavior:

  1. Login to the app with a valid account
  2. Turn off the internet connection
  3. Switch to the Products tab. Without internet connection, no data can be fetched, so empty views will be presented shortly afterward.
  4. Pull down to refresh and observe that the animation is not smooth.

Screenshots
https://user-images.githubusercontent.com/524475/171785869-711c5077-56c4-456c-a20c-56e3e0b03851.mp4

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature: product listRelated to the product list.good first issueThe issue is a good candidate for a community contribution or for a newcomer to the team.type: bugA confirmed bug.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions