GumbyFramework / Gumby

A Flexible, Responsive CSS Framework - Powered by Sass
http://gumbyframework.com/
2.85k stars 440 forks source link

Gumby overrides HTML5 hidden attribute #213

Open josiah14 opened 10 years ago

josiah14 commented 10 years ago

I'm working with a Gumby navbar in an EmberJS application. On a certain url/route, I want the navbar to be hidden. The cleanest way I've found to do this in Ember is to use {{bind-attr hidden=isHiddenControllerProp}} within the navbar tag.

Currently, this does not work because the hidden property is overridden by the display: block property added by Gumby to the navbar. I suspect this is probably the case for any element in Gumby that uses the display CSS attribute.

Gumby should either provide a way for me to simply hide an element (without the necessity of switching/toggling), or else honor the hidden HTML5 attribute.