GumbyFramework/Gumby

Gumby overrides HTML5 hidden attribute

Opened this issue · 0 comments

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.