-
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
Add baseZIndex and autoZIndex property to Calendar and Dialog #3940
Comments
I am also able to replicate this issue. |
How do i fix this problem? If i set the Z-Index manually nothing happens... |
Not a permanent or not a standard solution, but I am using important tag for now, as a work around. |
Thanks for your reply! Fixed it now like this: |
To disable automatic layering, set [autoZIndex]="false", if you want to keep it but want to use a different higher value then 1000 use [baseZIndex]="100000". If autoZIndex is true then when calendar is displayed zIndex would be 100001. Applies to 4.2.3. Dialog also has this, so you can manage it manually properly without your values being overwritten now. |
@sgentile mesma coisa aqui. |
Yeah, I have the problem too... It just really sucks when you can use the library so easily and then you run into something like this without a way to fix it. UPDATE: I found a few things to use.
the Then I also discovered that if you use the Hopefully this helps others that arrive here. |
I have a quick fix. If you are using dialog component fix this CSS with calendar crop problem.
|
I added |
I'm submitting a ...
Current behavior
I am using modal dialogue and p-calendar inside it, but due to incremental z-index feature of primeNG, calendar goes in background as I click on modal's input field of p-calendar.
Is there any fix provided by PrimeNG on this, other than setting z-index manually (at a higher value) to DOM handle.?
Expected behavior
My requirement is that when the calendar component is still active, and I click inside input field of calendar, Calendar should not go back of modal. It should remain at higher z-index than p-dialog.
Environments:
Windows 10, Eclipse Neon.3 Release (4.6.3)
latest 4 x of angular and prime
The text was updated successfully, but these errors were encountered: