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

v5.3.0 Broken floating label background for disabled Input[type=text] and textarea #38731

Closed
3 tasks done
virtualize opened this issue Jun 8, 2023 · 0 comments · Fixed by #38913
Closed
3 tasks done

Comments

@virtualize
Copy link

Prerequisites

Describe the issue

By default the floating labels of disabled input texts and textareas have a white background (i.e. the body background).
For select inputs it works as expected. Please see these examples.

Screenshot 2023-06-08 at 16 31 30
Screenshot 2023-06-08 at 16 29 01

Reduced test cases

Reproducer: https://codepen.io/virtualized/pen/ZEmYLXq

My workaround for now is simply adding and !important

.form-floating > :disabled ~ label::after {
  background-color: $input-disabled-bg !important;
}

What operating system(s) are you seeing the problem on?

macOS

What browser(s) are you seeing the problem on?

Safari

What version of Bootstrap are you using?

v.5.3.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants