Skip to content

Table Filter Overlay closes when using appendTo body #19371

@denny99

Description

@denny99

Describe the bug

The overlays of the constraint and operator dropdown causes the filter overlay to close when selecting a values.

Only if the overlayAppendTo is set to body in the primeng config.

Pull Request Link

#19370

Reason for not contributing a PR

  • Lack of time
  • Unsure how to implement the fix/feature
  • Difficulty understanding the codebase
  • Other

Other Reason

No response

Reproducer

https://stackblitz.com/edit/github-xbd4newb

Environment

Angular 21 and PrimeNG 21.

Angular version

21.1.1

PrimeNG version

v21

Node version

No response

Browser(s)

No response

Steps to reproduce the behavior

  1. Open the filter of a column
  2. Click the operator dropdown
  3. Select or
  4. Overlay closes completely

Expected behavior

Should stay open

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type: BugIssue contains a bug related to a specific component. Something about the component is not working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions