paper-stepper icon indicating copy to clipboard operation
paper-stepper copied to clipboard

suggest putting delay in first open

Open MartonEstok opened this issue 8 years ago • 2 comments

I suggest changing your openStep function to tihis. 500 is an arbitrary value, probably that delay should be a settable attribute. I made this change because otherwise the 1st step is just snapped open, without your nice animation : )

openStep: function(e) {

      this.async(function() {

        e.detail.item.open();
      }, 500)

    },

MartonEstok avatar May 16 '16 12:05 MartonEstok

Hi! I don't think it is the desired behavior because the role of the animation is to be a transition between two steps, the effect is nice but it would distract the clarity when the user lands on the stepper.

Zecat avatar Jun 12 '16 11:06 Zecat

Thanks for your response. I understand your point. In your demo on the component page, there's a very subtle animation happening as I switch from the DOCS to the DEMO. This is perfect. In my implementation however, this was completely absent, so I added the delay for myself.

Thanks anyway ! :)

MartonEstok avatar Jun 12 '16 11:06 MartonEstok