halfmoonui / halfmoon

Halfmoon is a highly customizable, drop-in Bootstrap replacement. It comes with three built-in core themes, with dark mode support for all themes and components.
https://www.gethalfmoon.com
MIT License
3.04k stars 118 forks source link

sidebar slide animation #77

Open JeffWScott opened 3 years ago

JeffWScott commented 3 years ago

The sidebar appears and disappears when toggled. But it doesn't have the nifly slide animation like on the main halfmoon site.

Is this something I need to roll myself or could it be a configuration error on my part?

halfmoonui commented 3 years ago

Did you include halfmoon.js in your project? Right now, there is a small issue where the .with-transitions class is attached to the page wrapper using JavaScript. This class actually provides the transition you are looking for.

This was done to avoid a really annoying bug on Chrome that runs transitions on page load. I am looking for ways to change this in a future update.

JeffWScott commented 3 years ago

Yeah I have the JavaScript file via CDN. All the functionality of it seems to work fine.

Now that I know that animation is supposed to work I can dig in and figure out why.