p-dropdown input filter does not get focus anymore #6388
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
If you have a PrimeNG PRO Support subscription please post your issue at;
https://pro.primefaces.org
where our team will respond within 4 business hours.
If you do not have a PrimeNG PRO Support subscription, fill-in the report below. Please note that
your issue will be added to the waiting list of community issues and will be reviewed on a first-come first-serve basis, as a result, the support team is unable to guarantee a specific schedule on when it will be reviewed. Thank you for your understanding.
Current Waiting Time: ~8 weeks.
I'm submitting a ... (check one with "x")
Plunkr Case (Bug Reports)
The case can be seen on the site under dropdown with filters
https://www.primefaces.org/primeng/#/dropdown
Current behavior
When dropdown is clicked the input filter does not get a focus as it used to. This was working before in some other versions but not anymore.
Expected behavior
When filter is flagged the input filter should get focused after opening the dropdown, this was a behavior that was present in previous versions.
What is the motivation / use case for changing the behavior?
This is the expected behavior and used to be working. Looking at the code it seems the filterViewChild is undefined and that is the reasons the filter doesn't get focused anymore.
Please tell us about your environment:
Angular version: 5.X
6.1.3
PrimeNG version: 5.X
6.1.2
Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]
All
The text was updated successfully, but these errors were encountered: