Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Collapsible Content: Info Icon Issue #4801
Building a mobile web app and am using the collapsible content feature. We would like to use the "info" icon as the custom icon, for both the expanded and collapsed version of the content block.
The "info" icon displays for the collapsed version, but when clicked on, the icon changes to a plus icon, despite having a value of "info" for the data-expanded-icon attribute. Not sure if I'm missing something ..
I haven't tested to see if this is happening for any other icon, but thought I should bring it up.
Here's a jsbin link - http://jsbin.com/orucec/66/
referenced this issue
Aug 4, 2012
I've created a PR to fix this issue, but I don't know, if it will get in.
Another solution to achieve same icons for expanded and collapsed state is to use a CSS-rule like this:
I don't use jsbin because a second css rule like that above (eg using grid-icon) does not work there ...