paper-icon-button not showing as expected

268 views
Skip to first unread message

nam.t...@gmail.com

unread,
Jul 19, 2015, 1:33:32 PM7/19/15
to polym...@googlegroups.com
I just started with Polymer and I'm using paper-icon-button to test this out. I think I set things up correctly because the button I used have ripple effect; when I set the `src` property, my intended picture showed up. 

    <!-- This works -->
    <paper-icon-button src="http://placekitten.org/g/50/50"></paper-icon-button>

However, I failed to use default icon, for example:

    <!-- This does not work. There is a blank icon. 
                          However, ripple effect still works on click -->
    <paper-icon-button icon="menu"></paper-icon-button>

I ran the polymer project on a Linux server. The demo doesn't work on my computer either. Here is what the demo should look like: https://elements.polymer-project.org/elements/paper-icon-button?view=demo:demo/index.html
Here is the demo running on my `polyserve`: ![enter image description here][1]



I setup `paper-icon-button` using bower command instead of zip file so I would assume that all the dependencies are there. Not sure what is missing :s please help me out thanks!

andreas...@hotmail.de

unread,
Jul 20, 2015, 1:35:55 PM7/20/15
to polym...@googlegroups.com, nam.t...@gmail.com
http://stackoverflow.com/questions/31178734/polymer-icons-not-showing-in-chrome/31179721#31179721

This might be related to this. If that's the case, the polymer team is working on a fix if I'm not mistaken.
Reply all
Reply to author
Forward
0 new messages