-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Overlay: p-overlay div not removed from DOM on hiding panel #12948
Labels
LTS-PORTABLE
Issue's fix will be ported to supported LTS versions
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Milestone
Comments
xRino94
added
the
Status: Needs Triage
Issue will be reviewed by Core Team and a relevant label will be added as soon as possible
label
Apr 26, 2023
It still exists. Need immediate solve :| |
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
Nov 8, 2023
cetincakiroglu
added
the
LTS-PORTABLE
Issue's fix will be ported to supported LTS versions
label
Nov 8, 2023
cetincakiroglu
added a commit
that referenced
this issue
Nov 8, 2023
…-mobile-view-issue fix: #12948 || Overlay: p-overlay div not removed from DOM on hiding …
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
LTS-PORTABLE
Issue's fix will be ported to supported LTS versions
Type: Bug
Issue contains a bug related to a specific component. Something about the component is not working
Describe the bug
When hiding the overlay content (clicking outside the panel or programmatically) the wrapper div with class 'p-overlay' will not be removed from the DOM. This will cause an invisible layer blocking interactions with the page. If you perform another click, the p-overlay div will be removed from DOM.
It seems to happen only if responsive params is passed.
It seems to work properly on 14.2.2 Official Documentation.
This is the div that should be removed from DOM (it will removed on second click)
Environment
PrimeNG Official Documentation
Reproducer
https://primeng.org/overlay#basic
Angular version
15.2.2
PrimeNG version
15.1.1
Build / Runtime
Angular CLI App
Language
TypeScript
Node version (for AoT issues node --version)
18.13.0
Browser(s)
No response
Steps to reproduce the behavior
If you try to click the "Show Overlay" button again to reopen the overlay, it will fail. You will not see the cursor pointer too.
Even if the click fails, the p-overlay wrapper will be correctly removed this time
Expected behavior
When hiding overlay panel, the p-overlay wrapper should be removed from DOM to re-establish the page interaction
The text was updated successfully, but these errors were encountered: