Skip to content

columnFilterDisplayMode="popover" click outside not working with new mantine version #483

@TobiasWust

Description

@TobiasWust

mantine-react-table version

2.0.0-beta.8

react & react-dom versions

18.3.1

Describe the bug and the steps to reproduce it

Hello,
I do have a table with columnFilterDisplayMode="popover". Previously I could click outside to close the popover, but now that doesn't work anymore - I can only click the filter button again.

It's still working with mantine 7.13.1 but not with newer version.

I created an empty vite app, just with the exact example from the docs https://v2.mantine-react-table.com/docs/guides/column-filtering#column-filter-display-modes to verify, that the bug is not caused by anything else.

Minimal, Reproducible Example - (Optional, but Recommended)

https://github.com/TobiasWust/mrt-popover-bug

  <MantineProvider>
    <MantineReactTable
      columns={columns}
      data={data}
      columnFilterDisplayMode='popover'
    />
  </MantineProvider>

Screenshots or Videos (Optional)

Image

Do you intend to try to help solve this bug with your own PR?

None

Terms

  • I understand that if my bug cannot be reliably reproduced in a debuggable environment, it will probably not be fixed and this issue may even be closed.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions