Reputation: 4778
I have following snippet on my page
<template is="dom-if" if="[[buttonCancel]]">
<paper-button>
<slot name="dialog__slot-cancel-button"></slot>
</paper-button>
</template>
In Chrome it shows well.
In IE11 the button does not show up (even though the buttonCancel is true).
<template is="dom-if" if="[[buttonCancel]]">
TEST TEST TEST
</template>
shows "TEST TEST TEST" well in IE11
<paper-button>
<slot name="dialog__slot-cancel-button"></slot>
</paper-button>
shows also well
The combination of those two does not :(
Did anyone else see such issue?
Upvotes: 0
Views: 166
Reputation: 4778
This has helped:
<template restamp is="dom-if" if="[[buttonCancel]]">
<paper-button>
<div>
<slot name="dialog__slot-cancel-button"></slot>
</div>
</paper-button>
</template>
Upvotes: 0