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: Primefaces tooltip gets behind dialog on every click on dialog #10100
Comments
See also #9295 |
Have you tried this with 13.0-SNAPSHOT? |
Please provide an executable example using the PrimeFaces Test project. It is the only way developers can debug your problem to help. |
We need to see your exact code as I can't reproduce your issue. So please provide a reproducer as requested. |
Try adding |
Unfortunately without success
|
MonkeyPatch: if (PrimeFaces.widget.Dialog) {
PrimeFaces.widget.Dialog.prototype.moveToTop = function() {
this.jq.css('z-index', 1000);
}
} Working reproducer: This is because whenever a dialog is "focused" it must be the topmost element above all others. Let me see if I can fix it. |
OK I fixed it along with #9949 |
Perfect, thank you so much . So, I could use the newest version now with fixed problem ? |
No it will be fixed in 13.0.0 which is not out yet just use that MonkeyPatch for now. |
Thank you for information. |
This is a better monkeyPatch: if (PrimeFaces.widget.Dialog) {
PrimeFaces.widget.Dialog.prototype.moveToTop = function() {
if (!this.isVisible()) {
this.jq.css('z-index', PrimeFaces.nextZindex());
}
}
} |
…ault components
Describe the bug
Hi , could you check this bug please if it's fixed. The thing is when Primefaces dialog is opened, whenever I click on dialog property "z-index" is getting incremented and it lefts hover component behind dialog component.
Reproducer
No response
Expected behavior
No response
PrimeFaces edition
None
PrimeFaces version
12.0
Theme
No response
JSF implementation
Mojarra
JSF version
No response
Java version
11.0.11
Browser(s)
No response
The text was updated successfully, but these errors were encountered: