data-height breaks filter-control

Author: DataSupplierCreated Mar 15, 2023Updated May 13, 2026
Labelsfilter-controlBug

Bootstraptable version(s) affected

1.21.3

Description

Hee guys,

I found out that using data-height attribute breaks the select using it along with select2 or multi-select. After applying data-height, clicking on the dropdown won't open any window. Removing the data-height, makes the filter-control work again. The default select (filter-control) works without issues.

Example(s)

Below an existing example with filter-control integrated with select2 select2 working example by wenzhixin

Add the folowing data-height attribute to the table and the dropdown does not open anymore for Status. data-height="530"

I've also tested this with the multi-select feature which is in the concept phase (saw a big thread on it) multi-select working example

Add the folowing data-height attribute to the table and the dropdown does not open anymore for City. data-height="530"

Possible Solutions

No response

Additional Context

No response

Source: wenzhixin/bootstrap-table