Tabulator: Tabulator 4.6.3 Filter Column Height Restore Issue

Created on 1 Jun 2020  路  6Comments  路  Source: olifolkerd/tabulator

Hello,

After enabling header filters and disabling again, the column height is not restored.

  • Is this the default behaviour?
  • Is there a way to restore to normal column height?

Take a look at this JS Fiddle:
JS Fiddle

  1. image
  2. image
  3. image
Bug

All 6 comments

I thought this maybe stack-overflow question so I have created one: https://stackoverflow.com/q/62149666/5124710

I am pretty sure it is a bug. If it isn't a bug, then I would definitely say it is a feature enhancement that should be added.

I am not aware of any easy way to workaround it right now. It looks like the height is not re-calculated properly (or at all) when you remove the header filters.

I noticed another thing with select filter drop down, that the font-size is not same as tabulator default:

  1. image
  2. image
    The second image became slightly larger in font (JSFiddle Firefox), however my project (Chromium based) it was larger, then became smaller to match tabulator with this code:
    .tabulator-edit-select-list { font: inherit; }

Hey @BirukTes

That is definitely a bug, i will stick it on the fixit list for the next release.

Cheers

Oli :)

@BirukTes

The second issue is down to your CSS, the select element popup is not contained inside of Tabulator it is appended directly to the page body so it has no way to reference the font size of the table. You will need to tweak your CSS to resolve that.

A list of classes for the select popup can be found in the Styling Documentation

Cheers

Oli :)

Hey @BirukTes

I have just pushed a fix for this to the 4.8 branch which will be released next weekend.

Cheers

Oli :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

yaxino picture yaxino  路  3Comments

iBek23 picture iBek23  路  3Comments

aballeras01 picture aballeras01  路  3Comments

andreivanea picture andreivanea  路  3Comments

Honiah picture Honiah  路  3Comments