Skip to content
This repository has been archived by the owner on Oct 7, 2020. It is now read-only.

[icon-button]: using onIcon/offIcon not shown in button #2252

Open
BePo65 opened this issue Apr 28, 2020 · 0 comments
Open

[icon-button]: using onIcon/offIcon not shown in button #2252

BePo65 opened this issue Apr 28, 2020 · 0 comments

Comments

@BePo65
Copy link

BePo65 commented Apr 28, 2020

Describe the bug
If i integrate an icon-button with "icon toggle" into my application (following the example in the documentation) the background of the button is shown, but no icon (no matter if button is on or off).
If I switch to the "Using [on] property" example (with explicit mdc-icon tags) everything is ok.

To Reproduce
Steps to reproduce the behavior:
I made a stackblitz (https://stackblitz.com/edit/angular-mdc-agnan-icon-button) based on the template from @RikEskes. But it seems that stackblitz fights with angular 9.

As the demo in stackblitz does not show the effect in the "live window" I have includes 2 screenshots - one of the resulting display and one of the used html:

mdc-icon_1

mdc-icon_2

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant