shepherd icon indicating copy to clipboard operation
shepherd copied to clipboard

Feature Request: Smooth Animated Transitions Between Steps (Like Driver.js)

Open BenJackGill opened this issue 9 months ago • 2 comments

I'm moving over from Driver.js, which features smooth animated transitions between steps.

If you check out the demo on their homepage, you'll see how each highlight gracefully shifts and moves across the page with a nice animation effect.

In contrast, the current Shepherd.js tour steps appear abruptly, without transitions.

Is it possible to implement similar smooth animated transitions in Shepherd.js, like those in Driver.js?

BenJackGill avatar Mar 21 '25 04:03 BenJackGill

Looks like something like this is what he does

@keyframes animate-fade-in {
  0% {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

.driver-fade .driver-overlay {
  animation: animate-fade-in 200ms ease-in-out;
}

.driver-fade .driver-popover {
  animation: animate-fade-in 200ms;
}

Open to adding it in the default theme, but if you have time for a PR or just want to drop into your own project to not wait for a release, Shepherd is very theme-able.

chuckcarpenter avatar Apr 01 '25 00:04 chuckcarpenter

Thanks for pointing out Driver.js! This is worth migrating to for the MIT licensing alone

robd003 avatar Jun 02 '25 20:06 robd003