jasny / bootstrap

The missing components for your favorite front-end framework.
https://www.jasny.net/bootstrap/
Apache License 2.0
2.68k stars 497 forks source link

CSS3 transitions on offcanvas #313

Closed TheoryOfNekomata closed 9 years ago

TheoryOfNekomata commented 9 years ago

Title is self-explanatory. Should the offcanvas use CSS3 transforms, issues regarding positioning may be solved. And it's easier to implement.

jasny commented 9 years ago

The Offcanvas plugin is already using CSS3 transitions. jQuery animations are just a fallback (see offcanvas.less).

Regarding CSS transformations, unfortunately these have side effects. Mainly they create an independent viewport, which will work a lot of time, but gives unexpected results in many of cases. Using CSS transformations was actually my first approach as you can see in this earlier version of offcanvas.