svg icon using use tag and viewbox attribute

Hi guys! Recently I encountered on problem where I worked with svg icons with use tag. I was surprised when I found that icons are not displayed in Firefox. After googling I still did not find a solution so I´ve tested it a little by myself. What I found out is that you must use viewbox attribute in  html of your svg tag. Then Firefox will render it correctly. I hope this helped you.