You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm using this polyfill to scale icons to a specified size, and I just encountered the first problem I couldn't solve myself. It's worth noting that I'm using this polyfill in combination with Grunticon, but I don't believe that's the problem as Grunticon still does its job and the icons show up if I remove the polyfill.
What I'm experiencing is that my icons in a Bootstrap 3 popover are altogether missing when the popover appears. I'm guessing that this has something to do with the polyfill being applied on page load while the icons in question are hidden with their parent using display:none;, so the polyfill doesn't see them and do whatever it is meant to do.
I'm not sure how to solve this. I guess my question is: is this a known issue, or, if not, is it possible to apply the polyfill at some later point or in some other way so that it can be applied to these hidden elements?
I can put together a JSFiddle if necessary, but it may take some time and work to get the necessary resources hosted and hooked up correctly.
Thank you!
The text was updated successfully, but these errors were encountered:
The same occurs in Bootstrap 3 modals. Basically the polyfill won't apply to anything with "display:none;" on page load that is shown later via javascript. Is there a workaround for this?
derekatkinson
changed the title
Does not work in Bootstrap 3 popovers in IE8
IE8: Does not work with elements with "display:none;" on page load, which are later shown with javascript
Nov 19, 2015
I'm using this polyfill to scale icons to a specified size, and I just encountered the first problem I couldn't solve myself. It's worth noting that I'm using this polyfill in combination with Grunticon, but I don't believe that's the problem as Grunticon still does its job and the icons show up if I remove the polyfill.
What I'm experiencing is that my icons in a Bootstrap 3 popover are altogether missing when the popover appears. I'm guessing that this has something to do with the polyfill being applied on page load while the icons in question are hidden with their parent using
display:none;
, so the polyfill doesn't see them and do whatever it is meant to do.I'm calling the polyfill with the following HTML:
so that it can style my icons in this popover content:
I'm not sure how to solve this. I guess my question is: is this a known issue, or, if not, is it possible to apply the polyfill at some later point or in some other way so that it can be applied to these hidden elements?
I can put together a JSFiddle if necessary, but it may take some time and work to get the necessary resources hosted and hooked up correctly.
Thank you!
The text was updated successfully, but these errors were encountered: