Skip to content
This repository has been archived by the owner on Dec 19, 2024. It is now read-only.

Edge 16: Checkbox misaligned #183

Open
LarsDenBakker opened this issue Nov 5, 2017 · 6 comments
Open

Edge 16: Checkbox misaligned #183

LarsDenBakker opened this issue Nov 5, 2017 · 6 comments

Comments

@LarsDenBakker
Copy link

On Edge 16 the paper-checkbox checkbox is misaligned:

checkbox edge 16

@kuenstl
Copy link

kuenstl commented Nov 6, 2017

The paper-checkbox is using the :host-context selector to detect dir="rtl" on a parent element. Inside the selector, the transform-origin is set to adapt the checkmark to the currently set direction.

See: Line 176 and Line 198

The missing polyfill for the :host-context selector (see shadycss issue about :host-context) behaves here differently in MS Edge as in Firefox.

  • In MS Edge the :host-context selector is applied always and thus the transform-origin is applied to the checkmark causing the misaligned checkmark (see screenhot above).

  • In Firefox the :host-context selector is always ignored and causes a misaligned checkbox when the rtl attribute was set to one of the parent elements.

@DavidHenri008
Copy link

@azakus Any news on this one?

@tiagocardoso
Copy link

Any news ?

@DavidHenri008
Copy link

From what I have seen, this is already fixed but it has not been deployed yet.

@garats
Copy link

garats commented Apr 5, 2018

I am facing the same issue, after debug I got a solution but not a way to implement it..
#checkmark needs a left: 6px; to align it but this also affect other ok browsers.

Please suggest any other....

@rediche
Copy link

rediche commented Apr 18, 2018

This was fixed in v2.0.3. Just make sure to update your installs and it should work. It was fixed in commit: b5970e2

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants