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

p-columnFilter: On selection of options in the filter dropdown, the filter menu is inconsistently closing #14651

Closed
aditi1425 opened this issue Jan 29, 2024 · 3 comments
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible

Comments

@aditi1425
Copy link

Describe the bug

The p-columnFilter module in PrimeNG exhibits an inconsistent issue where the filter dropdown randomly closes upon the selection of options. This behavior occurs sporadically, making it challenging to reproduce consistently. The problem seems to be related to the selection of options within the filter dropdown making the user unable select multiple filter option in a single instance.

Environment

occurring on all environments

Reproducer

No response

Angular version

13.2.6

PrimeNG version

13.4.1

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

Browser(s)

No response

Steps to reproduce the behavior

  • Apply a filter to a column that triggers the filter dropdown to appear.
  • Attempt to select an option from the dropdown.
  • Observe that, at times, the dropdown closes unexpectedly after selecting an option(generally on second selection)

Expected behavior

The filter dropdown should remain open after selecting an option until the user explicitly closes it or clicks outside the dropdown area.

@aditi1425 aditi1425 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
@aditi1425 aditi1425 changed the title p-columnFilter: On selection of options in the filter dropdown, it randomly closes p-columnFilter: On selection of options in the filter dropdown, it is inconsistently closing Jan 29, 2024
@aditi1425 aditi1425 changed the title p-columnFilter: On selection of options in the filter dropdown, it is inconsistently closing p-columnFilter: On selection of options in the filter dropdown, the filter menu is inconsistently closing Jan 29, 2024
@BecomingGG
Copy link

On v17.1.0 on dropdown select it closes column filter instantly is there possibility to change this behaviour.

@aditi1425
Copy link
Author

We can use the overlayVisible property of column filter in order to handle the visibility.

@mehmetcetin01140
Copy link
Contributor

Hi,

So sorry for the delayed response! Improvements have been made to many components recently, both in terms of performance and enhancement. Therefore, this improvement may have been developed in another issue ticket without realizing it. You can check this in the documentation. If there is no improvement on this, can you open a new issue so we can include it in our roadmap?

Thanks a lot for your understanding!
Best Regards,

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
Projects
None yet
Development

No branches or pull requests

3 participants