Wp-calypso: Checkout: Placeholder -> Loaded view transition is a little jarring

Created on 6 Dec 2016  路  4Comments  路  Source: Automattic/wp-calypso

Issue

On hitting the checkout page a placeholder view is shown while data is fetching.
Pretty standard :)
The problem is that the transition between the two view states is a little off...

plans

As you can see, the placeholder hides before the checkout view is shown.
In my opinion, the placeholder should be instantly replaced with the loaded view.

The view order:

  • Placeholder ->
  • Nothing ->
  • Loaded

Further, when landing at a checkout page as the first view, this is exacerbated - presumably because there are more state changes.

The view order looks like:

  • Placeholder ->
  • Nothing ->
  • Placeholder ->
  • Nothing ->
  • Loaded

Reproduce

I'm happy to dig in to this, I've been doing some similar work on my personal site recently and have some good ideas about why this is happening :)
This possibly needs design eyes on it just to confirm wether this is actually intended or not.

Thanks!

Checkout OSS Citizen [Type] Bug

All 4 comments

I can reproduce this. I doubt the flash of the loading placeholder is intentional... I agree the placeholder should be instantly replaced with no transition.

I noticed the placeholder wasn't being shown at all #19593.

But it no longer has the scale effect, and _kinda_ yields immediately to the form. Is this issue still valid?

We'll want to verify if this is still an issue

Nice! I can confirm that this bug has already squished itself! 馃憿馃悶

Was this page helpful?
0 / 5 - 0 ratings