Why does Flexibilty.js does not allow this Flexbox Test to run on IE9 Compatability

271
April 06, 2017, at 9:28 PM

So I am currently developing a web app that uses Flexbox. This works fine in IE10/11, Chrome, Firefox etc but I could not get it working in IE9 (Compatability mode in IE11) obviously because it does not support Flexbox.

I then found the Flexibility.js shim, which many people seem to have used successfully and I could not find anyone with issues using it.

So as per the installation instructions I added

<script src="js/flexibility.js"></script>

to the <head> of my HTML page and also added -js-display: flex to the following CSS:

.container .right .chat.active-chat {
  -js-display: flex;
  display: block;
  display: -webkit-flex;
  display: flex;
}

Now according to the installation instructions this is all that should be needed to get Flexbox working on IE9, however in this example that I've hosted (because Codepen/JSFiddle would not work in IE9 themselves) you can see that the divs with class .bubble do not appear anywhere on the screen, even though they appear fine in other browsers.

Is there anything in this code that would stop Flexibility.js from working? Or is there another problem which is stopping these divs from being displayed correctly?

Rent Charter Buses Company
READ ALSO
how to pass javascript variable to css

how to pass javascript variable to css

I am using scrollbar function in my div tag

420
CSS inheriting div width

CSS inheriting div width

I have essentially the following code:

346
php include file also include the style of this file

php include file also include the style of this file

i have a PHP codes in indexphp like this:

344
How to change stacking order of bg image?

How to change stacking order of bg image?

How can I make it so that the mouth, eyes, and eyebrows appear on top of the face without changing the html? (The mouth is in the wrong position so I can see it)

315