Skip to content

Incorrect header height with filters and pinning #6979

Open
@jpadre

Description

@jpadre

Hi all,

The header height is incorrectly computed when:

  • Pinning more than one column left
  • Disabling the filters on all the other columns

image

If pinning only one column left, the behaviour is as expected.

For a year now I have hacked into the CSS classes to set the unfiltered headers height manually, however for reasons unknown to me it now fails on Chrome from time to time.

As much as I could track the differences between what is working and not, the ui-grid-header-canvas class sometimes get set to a fixed height of 29px instead of inherit, which causes the difference. But I couldn't find a way to force it there as the classes are generated.

Reproduced on versions 4.4.11 and 4.7.1

Here's a plunker: http://plnkr.co/edit/gkfdQAjGn1w81EWaIzX8?p=preview

Any help (or even better workaround) appreciated.

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