reactstrap icon indicating copy to clipboard operation
reactstrap copied to clipboard

ButtonDropdown, Dropdown in InputGroup has a broken rounded corners

Open janicekt opened this issue 4 years ago • 0 comments

  • 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

janicekt avatar Dec 05 '21 11:12 janicekt