p-dropdown: p-dropdown-open style is missing from dropdown #15762
Labels
LTS-16-PORTABLE
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
We have a chevron icon that rotates when our p-dropdowns are opened. To detect whether a dropdown is opened we use the p-dropdown-open class. We were on PrimeNG 15.4.1 and updated recently to PrimeNG 17.7.0. In this version of PrimeNG the p-dropdown is missing the p-dropdown-open class. It is still mentioned in the docs, however in this commit you can see it is removed. Without this class we cannot detect whether the dropdown is opened.
The p-inputwrapper-focus class has partial overlap with the p-dropdown-open class, but is also set when the dropdown is focused, but not opened, so doesn't fit our use case.
Environment
Chrome
Reproducer
No response
Angular version
17.3.10
PrimeNG version
17.17.0
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
18
Browser(s)
No response
Steps to reproduce the behavior
Expected behavior
The text was updated successfully, but these errors were encountered: