Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • B bootstrap
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 263
    • Issues 263
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 114
    • Merge requests 114
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Bootstrap
  • bootstrap
  • Issues
  • #37891
Closed
Open
Issue created Jan 16, 2023 by Administrator@rootContributor3 of 3 checklist items completed3/3 checklist items

In Bootstrap 5.3 alpha 1 input-group component partialy react to inline data-bs-theme="dark" attribute

Created by: realthemes

Prerequisites

  • I have searched for duplicate or closed issues
  • I have validated any HTML to avoid common problems
  • I have read the contributing guidelines

Describe the issue

So I set for html tag data-bs-theme="light" attribute and set data-bs-theme="dark" attribute inline for form-group component.

When I switch theme in html tag - color scheme of whole document are changing, but form-control background color also change from white to dark, is it must be fixed in dark color?. I repeat this bug at Bootstrap documentation page by inserting form-group html code in some examples.

Reduced test cases

<!DOCTYPE html>
<html lang="en" data-bs-theme="light">
<head>  
</head>
<body>
    <div class="input-group input-group-lg" data-bs-theme="dark">
        <input type="text" class="form-control" placeholder="Email Address" aria-label="Email address" aria-describedby="button-join">
        <button class="btn btn-success bg-gradient" type="button" id="button-join">Join</button>
    </div>
</body>
</html>

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

Windows

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

Chrome

What version of Bootstrap are you using?

v5.3.0-alpha1

Assignee
Assign to
Time tracking