Skip to content
This repository was archived by the owner on Sep 5, 2024. It is now read-only.
This repository was archived by the owner on Sep 5, 2024. It is now read-only.

select: icon is wrongly positioned in IE11 #10714

@johnjesse

Description

@johnjesse

Actual Behavior:

it looks like this
image

it should look like this
image

CodePen (or steps to reproduce the issue): *

  • CodePen Demo which shows your issue:
  • Details:

See above, open the page in internet explorer

AngularJS Versions: *

  • AngularJS Version:
  • AngularJS Material Version:

Additional Information:

  • Browser Type: *
  • Browser Version: *
  • OS: *
  • Stack Traces:

Browser: Internet Explorer, Version: 11.0.9600.18665CO

The actual problem is you are using text-align: end to define the position of the icon, Internet Explorer has no support for using end with text-align (note Edge also has questionable support according to MDN https://developer.mozilla.org/en-US/docs/Web/CSS/text-align?v=example)

Solution
Use text-align: right in ltr environments and text-align: left in rtl environments


Shortcut to create a new CodePen Demo.
Note: * indicates required information. Without this information, your issue may be auto-closed.

Do not modify the titles or questions. Simply add your responses to the ends of the questions.
Add more lines if needed.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions