Edge does not correctly repaint a flex container if flex-direction is changed dynamically.

flex-direction:

First
Second

For reference, when flex-direction is row, the above should look like this:

First
Second

When flex-direction is column, the above should look like this:

First
Second