element [Bug Report] Incorrect object-fit result in IE 11

3htmauhk  于 2022-10-26  发布在  其他
关注(0)|答案(3)|浏览(160)

Element UI version

2.12.0

OS/Browsers version

Windows / IE 11

Vue version

2.6.10

https://codepen.io/charlie0228/pen/jONgeGK

Steps to reproduce

In the unsupported object-fit browser (e.g. IE 11), the simulate object-fit won't work correctly.
You can see Reproduction Link in IE 11, the first section (Container: 200 x 100 Image: 400 x 300) thecontain & coveris incorrect

IE 11:

What is Expected?

Object-fit contain & cover are correct simulating in IE 11.

What is actually happening?

The simulate object-fit is not correct.

cgvd09ve

cgvd09ve1#

PR #17611 solve the problem really well.

8e2ybdfx

8e2ybdfx2#

The issue still remains in 2.13.2

t8e9dugd

t8e9dugd3#

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

相关问题