Position fixed mixin is not applied

53 views
Skip to first unread message

Adrian Aioanei

unread,
May 17, 2015, 8:12:01 AM5/17/15
to polym...@googlegroups.com
To make a custom element fill the entire window, I am using @apply(--layout-fixed-left) and @apply(--layout-fixed-right). With this, all top/bottom/left/right are set correctly, but "position: fixed" is not applied.
Looking in iron-flex-layout.html, this is specified in:

--layout-fixed-bottom:,
   
--layout-fixed-left:,
   
--layout-fixed-right:,
   
--layout-fixed-top: {
      position
: fixed;
   
};

On a closer look, this is the single place where multiple mixins are specified in a single rule. So it might be an issue with how css rules are extracted from the mixins, when there's a group of them defined.
For now, the workaround is to have position: fixed next to the applied mixins.

Eric Bidelman

unread,
May 17, 2015, 1:50:49 PM5/17/15
to Adrian Aioanei, polym...@googlegroups.com

Follow Polymer on Google+: plus.google.com/107187849809354688692
---
You received this message because you are subscribed to the Google Groups "Polymer" group.
To unsubscribe from this group and stop receiving emails from it, send an email to polymer-dev...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/polymer-dev/65b9e089-6e41-4b60-8dd6-a429b7688155%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages