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

Floating labels examples in IE #30965

Merged
merged 4 commits into from
Jun 13, 2020
Merged

Conversation

ffoodd
Copy link
Member

@ffoodd ffoodd commented Jun 4, 2020

IE11

While checking #30836, I came across floating labels in IE11 that could just work fine since it supports a vendor prefixed version of ::placeholder-shown and Autoprefixer just does it job…

Preview: https://deploy-preview-30965--twbs-bootstrap.netlify.app/docs/4.5/examples/floating-labels/

Edge

Moreover the Edge workaround uses display: none to hide labels, which is a pitty from an accessibility perspective.

However Edge also concerns v5, so I'll target master for this and it should be backported late (Xref: #30966).

@ffoodd ffoodd requested a review from a team as a code owner June 4, 2020 09:20
@ffoodd ffoodd linked an issue Jun 4, 2020 that may be closed by this pull request
@ffoodd ffoodd changed the title Floating labels examples in IE / Edge Floating labels examples in IE Jun 4, 2020
@ffoodd
Copy link
Member Author

ffoodd commented Jun 4, 2020

Well, I don't get it but Autoprefixer doesn't seem to apply here. Don't know why it did in #30836.

@ffoodd ffoodd force-pushed the v4-dev-fod-IE11-floating-labels branch from 2aa810e to 8ec508d Compare June 4, 2020 09:50
@ffoodd ffoodd force-pushed the v4-dev-fod-IE11-floating-labels branch from 8ec508d to c07fdbc Compare June 4, 2020 10:08
@XhmikosR
Copy link
Member

XhmikosR commented Jun 4, 2020

@ffoodd it's normal, it's because in my v4 backport and updates PR I updated autoprefixer.

Let's get that merged first :)

@XhmikosR XhmikosR merged commit 7c6a0db into v4-dev Jun 13, 2020
@XhmikosR XhmikosR deleted the v4-dev-fod-IE11-floating-labels branch June 13, 2020 06:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Revisit floating example for IE/Edge
3 participants