Skip to content

DataTable filterDisplay="menu": filter menus do not close when opening another filter (regression from v9 to v10+) #8447

@bhoomesh-spe

Description

@bhoomesh-spe

Describe the bug

In PrimeReact v9, opening a column filter with filterDisplay="menu" automatically closed any previously open column filter menus. In v10.x (tested up to 10.9.7), multiple column filter menus can remain open simultaneously.
This behavior differs from previous versions and causes UX issues where filter menus overlap and confuse users.

Reproducer

Image

System Information

PrimeReact: 10.9.7

React: 17.0.1

Browser: Chrome

Steps to reproduce the behavior

  1. Use a DataTable with multiple columns, each with filter and filterDisplay="menu".
  2. Click the filter icon on Name column — its menu opens.
  3. Click the filter icon on Country column — Name’s menu stays open.

Expected behavior

Opening a new column filter should automatically close any previously open filter menus (like in v9).

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: Needs TriageIssue will be reviewed by Core Team and a relevant label will be added as soon as possible

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions