Skip to content

Progress hex animation blocks render on mount #234

Open
@mvasigh

Description

@mvasigh

Describe the bug
The mounting sequence for the Progress Hex blocks the main thread for 1-10 seconds due to anime timeline add method. This especially impacts mobile users as the user interface completely freezes for 2+ seconds (on Chrome for Android, running on Google Pixel XL).

To Reproduce

  1. Go to home page
  2. Search for a package, immediately try to use the UI before loading indicator mounts (i.e. scroll)

For debugging/testing:

  1. Set profiler to record.
  2. Perform the above steps.

Screen Shot 2019-10-27 at 8 59 28 AM

Expected behavior
Progress indicator should not block render or freeze the UI.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions