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've been seeing a few issues with IE9 and the latest version of Flexiblity (1.0.6 works as expected). I noticed that there are other issues that may be related, but do not seem to be the same as what I'm seeing so I figured it'd be easier for you if I logged a new issue.
Since I'm not sure how long this jsbin will stay alive, here is the code below:
<!DOCTYPE html><html><head><metacharset="utf-8"><metaname="viewport" content="width=device-width"><title>JS Bin</title><scriptsrc="https://cdnjs.cloudflare.com/ajax/libs/flexibility/2.0.1/flexibility.js"></script></head><body><p>The solid red border shows the container element, not the bar component</p><divid="horizontal"><divclass="Bar Bar--horizontal"><divclass="Bar-start Bar--medium">Start</div><divclass="Bar-middle">Middle</div><divclass="Bar-end Bar--medium">End</div></div></div><divid="vertical"><divclass="Bar Bar--vertical"><divclass="Bar-start Bar--medium">Start</div><divclass="Bar-middle">Middle</div><divclass="Bar-end Bar--medium">End</div></div></div></body></html>
// for percent, calculate property based on parent's computed sizeif(unit==='%'){varparentComputedStyle=window.getComputedStyle&&getComputedStyle(element)||{};vard=parentComputedStyle[prop];if(d!==undefined){d=parseInt(d,10);varpct=size/100;returnMath.round(d*pct);}}
As a result I now see this in ie9 (standards mode):
So now I think it's just a matter of solving the issue of this thing being aligned wrong on the main axis. @jonathantneal or anyone else, thoughts on this?
Good morning,
I've been seeing a few issues with IE9 and the latest version of Flexiblity (1.0.6 works as expected). I noticed that there are other issues that may be related, but do not seem to be the same as what I'm seeing so I figured it'd be easier for you if I logged a new issue.
I'm thinking that this is likely related to #32.
Basically, I have two simple flexbox components next to each other. Upon running
flexibility(document.body);
, the layout blows up.Before Flexibility:
After Flexibility:
Here is a jsbin with all of the code for easy IE9 testing: http://jsbin.com/lesaxanune/edit?html,css,output
Since I'm not sure how long this jsbin will stay alive, here is the code below:
The text was updated successfully, but these errors were encountered: