Skip to content

[data grid] filter and columns poppers incorrectly positioned when using a toolbar #13442

@jcrang

Description

@jcrang

Steps to reproduce

Link to live example: (required)
https://codesandbox.io/p/sandbox/relaxed-frost-vsxqk5?file=%2Fsrc%2FDemo.tsx

Steps:

  1. Click "Columns" or "Filters"

Note: this only occurs when using a toolbar. Poppers are correctly positioned when not using a toolbar.

Current behavior

Position of popper obscures headers

image

Expected behavior

Position of popper is below headers (as in MUI X 6):
https://codesandbox.io/p/sandbox/great-tree-hqkwng?file=%2Fsrc%2FDemo.tsx

image

Context

No response

Your environment

No response

Search keywords: datagrid toolbar popper

Metadata

Metadata

Assignees

No one assigned

    Labels

    designThis is about UI or UX design, please involve a designer.good first issueGreat for first contributions. Enable to learn the contribution process.scope: data gridChanges related to the data grid.type: regressionA bug, but worse, it used to behave as expected.v7.x

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions