Skip to content

Commit

Permalink
Turn forced transfer-layer for side-bar temporarily (#6700)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dima Voytenko authored and erwinmombay committed Dec 15, 2016
1 parent 60d6d9d commit dd85041
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion extensions/amp-sidebar/0.1/amp-sidebar.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,9 @@ export class AmpSidebar extends AMP.BaseElement {

this.viewport_ = this.getViewport();

this.viewport_.addToFixedLayer(this.element, /* forceTransfer */true);
// TODO(camelburrito, #6699): Return forceTransfer=false once fixed layer
// styling is addressed.
this.viewport_.addToFixedLayer(this.element, /* forceTransfer */ false);

if (this.side_ != 'left' && this.side_ != 'right') {
const pageDir =
Expand Down

0 comments on commit dd85041

Please sign in to comment.