You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have started using the off canvas push menu as demonstrated on your site, and it is working great.
I am struggling however to get it to work with a slower animation.
The css file has transition speed in the .canvas-sliding class, but modifying that is not enough.
I have additionally tried to amend the js file by increasing the duration in the .animate method, but I end up with a jerky animation (starts at the right speed but then jumps to the open / closed position, depending on whether I am opening of closing the menu).
It would be great if the speed could be added as an option in future, but for now any advice on what I can do to "fudge" the speed in the meantime would be appreciated.
The text was updated successfully, but these errors were encountered:
Great thank you.
Note that the CSS also needs to be changed to match whatever value is used in the new option though, so for example I set animateSpeed to 1000 and also:
.canvas-sliding {
-webkit-transition: top 1s, left 1s, bottom 1s, right 1s;
transition: top 1s, left 1s, bottom 1s, right 1s;
}
Its a shame that the CSS cannot also be modified by the new option ... or could it?
I have started using the off canvas push menu as demonstrated on your site, and it is working great.
I am struggling however to get it to work with a slower animation.
The css file has transition speed in the .canvas-sliding class, but modifying that is not enough.
I have additionally tried to amend the js file by increasing the duration in the .animate method, but I end up with a jerky animation (starts at the right speed but then jumps to the open / closed position, depending on whether I am opening of closing the menu).
It would be great if the speed could be added as an option in future, but for now any advice on what I can do to "fudge" the speed in the meantime would be appreciated.
The text was updated successfully, but these errors were encountered: