]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commit
Remove content classes on close, fix transitionend listener & set default transform...
authorSassNinja <kai.falkowski@gmail.com>
Wed, 14 Jun 2017 15:59:13 +0000 (17:59 +0200)
committerSassNinja <kai.falkowski@gmail.com>
Wed, 14 Jun 2017 15:59:13 +0000 (17:59 +0200)
commitc35d8ec9ec5b43a8f801d6c115e60afa39101c9e
tree9e1581c40d0c8f8cb96d24d4c44cdd608405bc60
parent4a8132df447f9f83584be6de6bfd6cbeb706c8b6
Remove content classes on close, fix transitionend listener & set default transform none for content

Now the content container has none transform by default so position fixed works as soon as an push off-canvas is closed.
Besides the transitionend listener is now fixed so it isn't bound to only the content or the element but to both of them.
The content classes specification is now part of the setup (this.contentClasses) for an improved readability.
js/foundation.offcanvas.js
scss/components/_off-canvas.scss