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

Component: Dropdown. After closing the overlay, the p-overflow-hidden class is not deleted if overlay mode is modal #15186

Closed
asauvez opened this issue Mar 28, 2024 · 1 comment · Fixed by #15213
Labels
Type: Bug Issue contains a bug related to a specific component. Something about the component is not working
Milestone

Comments

@asauvez
Copy link

asauvez commented Mar 28, 2024

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

  1. Create a dropdown <p-dropdown [overlayOptions]="{mode: 'modal'}">
  2. Open and close the overlay.
    3.Try to scroll the screen.

Expected behavior

Class "p-overflow-hidden" should be removed from when the overlay is hide.

@asauvez asauvez 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 28, 2024
@maruthumj
Copy link
Contributor

@asauvez I'm not able to reproduce this issue. can you please create a sample app on stackblitz and share it?

@cetincakiroglu cetincakiroglu 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 Apr 9, 2024
@cetincakiroglu cetincakiroglu added this to the 17.13.0 milestone Apr 9, 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

Successfully merging a pull request may close this issue.

3 participants