The LHS flex child in this example has 1em padding, and it will cause RHS to overflow the parent:
In IE flex-basis
doesn't account for box-sizing:border-box
. It's a know bug as described here: https://github.com/philipwalton/flexbugs#7-flex-basis-doesnt-account-for-box-sizingborder-box
Though it has been fixed in Edge now.
Some fixes:
flex-basis: calc($basisValue - $paddingValue)
← this worked best for meflex-basis: auto
max-width: $value