Component: Dropdown. After closing the overlay, the p-overflow-hidden class is not deleted if overlay mode is modal #15186
Labels
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Describe the bug
The bug looks like #14012 but for DropDown.
I have a <p-dropdown [overlayOptions]="{mode: 'modal'}">.
When closing the overlay, I can no longer scroll the screen because has still the class "p-overflow-hidden".
Environment
16.9.1
Reproducer
No response
Angular version
16
PrimeNG version
16.9.1
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
v18.19.0
Browser(s)
No response
Steps to reproduce the behavior
3.Try to scroll the screen.
Expected behavior
Class "p-overflow-hidden" should be removed from when the overlay is hide.
The text was updated successfully, but these errors were encountered: