Edge 17 only has partial support for object-fit, see https://caniuse.com/#feat=object-fit.
The fix for edge 16 does not apply it self for Edge 17, since this poly-fill only looks for "Edge/16.".
I suggest just adding a regex until it has been confirmed fixed proper like:
var isEdge16 = window.navigator.userAgent.match(/Edge\/\d\d./) !== null
In edge 17 object-fit is not applied on
Edge 17 only has partial support for object-fit, see https://caniuse.com/#feat=object-fit. The fix for edge 16 does not apply it self for Edge 17, since this poly-fill only looks for "Edge/16.".
I suggest just adding a regex until it has been confirmed fixed proper like:
var isEdge16 = window.navigator.userAgent.match(/Edge\/\d\d./) !== null