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

[BUG] In input-group corners aren't rendered as expected #54

Closed
4 tasks done
palcarazm opened this issue Aug 1, 2022 · 1 comment
Closed
4 tasks done

[BUG] In input-group corners aren't rendered as expected #54

palcarazm opened this issue Aug 1, 2022 · 1 comment
Assignees
Labels
bug Something isn't working
Milestone

Comments

@palcarazm
Copy link
Owner

palcarazm commented Aug 1, 2022

Describe the bug
In an input-group, only external corners of the first and last element have to be rounded

To Reproduce
Steps to reproduce the behavior and minimal code:

  1. Create a toggle in an input group
  2. see the corner are always rounded

Code for Bootstrap4, same issue in bootstrap 5

<div class="input-group mb-3 w-75">
        <input type="checkbox" checked data-toggle="toggle">
        <div class="input-group-prepend">
            <span class="input-group-text">Default</span>
        </div>
        <input type="text" class="form-control">
    </div>
    <div class="input-group mb-3 w-75">
        <div class="input-group-prepend">
            <span class="input-group-text">Default</span>
        </div>
        <input type="text" class="form-control">
        <input type="checkbox" checked data-toggle="toggle">
    </div>
    <div class="input-group mb-3 w-75">
        <div class="input-group-prepend">
            <span class="input-group-text">Default</span>
        </div>
        <input type="checkbox" checked data-toggle="toggle">
        <input type="text" class="form-control">
    </div>

Expected behavior
Only external corners of the first and last element have to be rounded in an input-group.

Screenshots
127 0 0 1_5500_v3 X X_

Package:
(please complete the following information)

  • Bootstrap 5 Toggle version: 3.7.0 and 4.3.1
  • Bootstrap version: 4.6.2 and 5.2.0

Desktop:
(please complete the following information)

  • OS:Win10
  • Browser: Chrome
  • Version: -

☑️ Task list

  • Develop feature/fix jQuery
  • Develop feature/fix ECMAS
  • Add cypress test coverage
  • Update docs (is needed)
@palcarazm palcarazm added the bug Something isn't working label Aug 1, 2022
@github-actions
Copy link

github-actions bot commented Aug 1, 2022

Hi! 👋
Thanks for your issue. You are helping to improve Bootstrap 5 toggle.

@palcarazm palcarazm added this to the v4.3.2 milestone Aug 1, 2022
Repository owner deleted a comment from github-actions bot Aug 1, 2022
@palcarazm palcarazm self-assigned this Aug 8, 2022
palcarazm added a commit that referenced this issue Aug 8, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Archived in project
Development

No branches or pull requests

1 participant