Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PrimeNg p-columnFilter does not close on outside element click or scroll or search submit #14658

Closed
Joroooo opened this issue Jan 29, 2024 · 1 comment
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@Joroooo
Copy link

Joroooo commented Jan 29, 2024

Describe the bug

primeng p-columnFilter element filter does not work properly.
Filters not close on click outside of the element

working in primeng 13
https://stackblitz.com/edit/primeng-tablefilter-demo?file=package.json

not working on future versions
https://stackblitz.com/edit/primeng-tablefilter-demo-cgdpzk?file=package.json

Provided solutions in #10692

do not help

Environment

"primeng": "~16.5.1",
"@angular/core": "^16.2.0",

Reproducer

No response

Angular version

16.2

PrimeNG version

16.5

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

18.10

Browser(s)

Chrome

Steps to reproduce the behavior

Create primeng Table, add standart fllters. Filter cannot be closed on external click.
See both links for working properly in v13 and not working in v16

working in primeng 13
https://stackblitz.com/edit/primeng-tablefilter-demo?file=package.json

not working on future versions
https://stackblitz.com/edit/primeng-tablefilter-demo-cgdpzk?file=package.json

Expected behavior

Filters should open without extra directives and works arrounds and should close on outside element click or scrolls

@Joroooo Joroooo added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Jan 29, 2024
@Joroooo Joroooo changed the title Component: Title PrimeNg p-columnFilter does not close on outside element click or scroll or search submit Jan 29, 2024
@mehmetcetin01140 mehmetcetin01140 added Type: Bug Issue contains a bug related to a specific component. Something about the component is not working and removed Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible labels Feb 5, 2024
@mehmetcetin01140 mehmetcetin01140 added this to the 17.6.0 milestone Feb 5, 2024
@mehmetcetin01140
Copy link
Contributor

mehmetcetin01140 commented Feb 5, 2024

Hi,

In primeng version 17.5.0, it works as expected : https://stackblitz.com/edit/primeng-tablefilter-demo-eiz7bq?file=package.json

Closing the issue since it doesn't exist in latest version.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Projects
None yet
Development

No branches or pull requests

2 participants