Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

icon transform features do not work on IE11 #4607

Closed
Assignees
Labels

Comments

@tmorehouse
Copy link
Member

Describe the bug

Icon transform features do not work on IE11 (flipping, rotate, scale, shifting)

Steps to reproduce the bug

Open icon docs in IE11 browser

Versions

Libraries:

  • BootstrapVue: 2.2.0
  • Bootstrap: 4.4.1
  • Vue: 2.6.11

Environment:

  • Device: PC
  • OS: Windows 7
  • Browser: IE11

Additional context

IE11 will only apply transforms to the outer <svg> element, not the inner <g> element

May need to detect IE11 and apply the transform styles to the root svg element, possibly wrapping the icons in an inline block element so that additional user transforms can be applied, or change to use the transform attribute on the svg root element

@tmorehouse
Copy link
Member Author

Switching to transform attribute on the <g> element works well with IE11 (and all other browsers).

@tmorehouse
Copy link
Member Author

v2.2.1 has been released.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment