From: SassNinja Date: Wed, 21 Feb 2018 10:50:44 +0000 (+0100) Subject: Update off-canvas docs X-Git-Tag: v6.6.0~36^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F10966%2Fhead;p=thirdparty%2Ffoundation%2Ffoundation-sites.git Update off-canvas docs This makes the limitation clearer you can only use overlap transition when using nested off-canvas. --- diff --git a/docs/pages/off-canvas.md b/docs/pages/off-canvas.md index 1aba0b6d6..725b0042e 100644 --- a/docs/pages/off-canvas.md +++ b/docs/pages/off-canvas.md @@ -254,6 +254,10 @@ A design can have multiple panels. Be sure that all panels come *before* the `.o You can switch the default transition of the off-canvas from pushing the page over as it open to overlapping the page by adding the `data-transition="overlap"` to the `.off-canvas`. There are 2 available transitions: push (`data-transition="push"`) which is the default, and overlap (`data-transition="overlap"`). +
+

When placing the off-canvas within the off-canvas-content container as Nested Off-Canvas, only overlap transition is possible. If you've explicitely defined push transition it will be replaced with overlap automatically.

+
+ ```html
@@ -369,7 +373,7 @@ Advanced off-canvas users may use the new `contentId` option to bind an element Important: when using the `contentId` on a nested element you must also use the new `nested` option and tell the JavaScript it's nested!
- Please note that it's currently not possible to use the push transition for a nested off-canvas element. +

Please note that it's not possible to use the push transition for a nested off-canvas element.

```html_example