Skip to content

ButtonDropdown, Dropdown in InputGroup has a broken rounded corners #2410

@janicekt

Description

@janicekt
  • components: ButtonDropdown, Dropdown in InputGroup
  • reactstrap version #9.0
  • react version any
  • bootstrap version #5.1

What is happening?

Snímek obrazovky 2021-12-05 v 12 47 27

if there is a ButtonDropdown or Dropdown in the InputGroup, then the wrapper div of the button breaks the border round look (div class="btn-group" or div class="dropdown")..

What should be happening?

if the parent is an InputGroup, then the dropdown button should not be wrapped in another div. See official documentation https://getbootstrap.com/docs/5.1/forms/input-group/#buttons-with-dropdowns

Steps to reproduce issue

can also be seen in the yours storybook documentation https://reactstrap.github.io/?path=/docs/components-inputgroup--input-group-button#input-group-button

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions