-
Notifications
You must be signed in to change notification settings - Fork 1.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
zIndex on toast with Dialog not working #2080
Comments
Hi, The zIndex properties of Toast and Modals are the same. Please check; #1924 I think you can use baseZIndex property for this issue. Exp;
Best Regards, |
Still same issue. |
Hi @imdkbj, Thanks a lot for the update! I added 'toast' key to ZIndex option and autoZIndex option to PrimeReact api. Please see these issues: If PrimeReact.autoZIndex is false, you can manually set the zIndex values of the groups for your app. After 6.4.0 is released, Please try;
Best Regards, |
@imdkbj, this is probably a stacking context issue. See https://developer.mozilla.org/en-US/docs/Web/CSS/CSS_Positioning/Understanding_z_index/The_stacking_context |
@mertsincan your solution doesnt work at all import PrimeReact from 'primereact/api'; PrimeReact.autoZIndex = false; |
@mertsincan @imdkbj This is the correct way of setting it learn from here for more info
|
Hey,
I have set the following props to the toast and toast is still showing in background when dialog is active.
Is something wrong there!!
The text was updated successfully, but these errors were encountered: