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

Dropdown: dropdown would close overlay when selecting text on filter #14990

Closed
Foxandxss opened this issue Mar 8, 2024 · 2 comments
Closed
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working

Comments

@Foxandxss
Copy link

Describe the bug

Using a dropdown (and the multiselect) with a filter.

Say you want to hightlight the text of the filter to copy it and you do it with the mouse. You click in the filter input and you drag your mouse until you reach the end of the input and instead of stopping the dragging in the input itself, you unpress the button outside of it. If you do that the overlay will close and you will lose the highlight.

Related to #7515

Environment

Happens on the docs itself.

Reproducer

https://primeng.org/dropdown#filterbasic

Angular version

17.0.0

PrimeNG version

17.10.0

Build / Runtime

Angular CLI App

Language

TypeScript

Node version (for AoT issues node --version)

20.0.0

Browser(s)

Chrome

Steps to reproduce the behavior

Open the demo page. Dropdown -> filter. Type something, click with the mouse at the end of the string, hold to select and unpress the button outside the overlay. It will close

Expected behavior

Dropdown should remain open after clicking outside if there is selected text

@Foxandxss Foxandxss added the Status: Needs Triage Issue will be reviewed by Core Team and a relevant label will be added as soon as possible label Mar 8, 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 May 17, 2024
@mehmetcetin01140 mehmetcetin01140 added this to the 17.17.2 milestone May 17, 2024
@iMarti
Copy link

iMarti commented May 22, 2024

The AutoComplete component suffers from the same issue.

@cetincakiroglu cetincakiroglu modified the milestones: 17.17.2, 17.18.0, 18.Future May 29, 2024
@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,

@github-project-automation github-project-automation bot moved this to Done in PrimeNG Dec 16, 2024
@mehmetcetin01140 mehmetcetin01140 removed this from the 19.x milestone Dec 16, 2024
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

4 participants