-
Notifications
You must be signed in to change notification settings - Fork 1k
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
Dialog: blockScroll not working #3166
Comments
wshuman3
added
Status: Needs Triage
Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
Type: Bug
Issue contains a defect related to a specific component.
labels
Aug 18, 2022
melloware
added a commit
to melloware/primereact
that referenced
this issue
Aug 18, 2022
melloware
added
👍 confirmed
and removed
Status: Needs Triage
Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
labels
Aug 18, 2022
melloware
added a commit
to melloware/primereact
that referenced
this issue
Aug 18, 2022
melloware
added a commit
that referenced
this issue
Aug 18, 2022
I am still seeing this issue in 8.4.0 so re-opening. |
melloware
added a commit
to melloware/primereact
that referenced
this issue
Aug 25, 2022
melloware
added a commit
to melloware/primereact
that referenced
this issue
Aug 25, 2022
melloware
added a commit
that referenced
this issue
Aug 25, 2022
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
blockScroll adds the class p-overflow-hidden to the body when it is shown but it is not removed when it is closed
Reproducer
https://codesandbox.io/s/primereact-test-forked-2vbvp2
PrimeReact version
8.3.0
React version
18.x
Language
ALL
Build / Runtime
Create React App (CRA)
Browser(s)
ALL
Steps to reproduce the behavior
1.) Click Show Dialog
2.) Click Close in Dialog
3.) Notice "p-overflow-hidden" is still present on the body
Expected behavior
p-overflow-hidden is removed when the dialog is closed
The text was updated successfully, but these errors were encountered: