paper-stepper
paper-stepper copied to clipboard
suggest putting delay in first open
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)
},
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.
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 ! :)