Incorrect button group render extending colvis bs4

Incorrect button group render extending colvis bs4

rhorho Posts: 4Questions: 0Answers: 0
edited February 2018 in Free community support

Using bootstrap4 with

  • Buttons 'b-1.5.1'
  • Column visibility 'b-colvis-1.5.1'

shows incorrect button group rendering.

Its also fixed if dropdown toggle icon is removed like in bs3

Replies

  • allanallan Posts: 63,455Questions: 1Answers: 10,465 Site admin

    See this discussion - its a limitation in Bootstrap - they say:

    A .dropdown-menu must be last child of the wrapper (.dropdown, .btn-group or another element that declares position: relative).

    So you need to move it to the end of the list.

    I don't know why they've got that limitation.

    Allan

  • rhorho Posts: 4Questions: 0Answers: 0

    thanks allen, currently removed .dropdown-toggle the after table creating

    $('button.buttons-colvis').removeClass('dropdown-toggle')

    now looks similar like using bootstrap3

This discussion has been closed.