Open Magiczne opened 1 year ago
@tugcekucukoglu I want to second this issue, as we just ran into it, too: A dropdown's panel in a (dynamic) dialog doesn't get a correct z-index, thus appearing behind the dialog. Adding a custom z-index class to the panel element of the dropdown solves this, but this should either be fixed, or at least a baseZIndex
property should be added to the panel.
This seems to still exist on latest version as well. Using a DynamicDialog in my case and the dropdown panel gets rendered behind the dialog.
@tugcekucukoglu @mertsincan is there any change it will be fixed? for example in 4.0?
Describe the bug
Another follow up to the #3554, #3121, and #4093.
@tugcekucukoglu it is still a bug. It either needs a resolving or a workaround. Please don't close this ticket immediately.
Copied from #4093:
Currently dropdowns are using automatic z-index handling, which not always is good. There are many cases when dropdown appear in custom elements, or are related to custom elements which are not handled by ZIndexUtils.
This is why previously I've created feature request for adding auto-z-index and baseZIndex props for the dropdown - https://github.com/primefaces/primevue/issues/3121 - which was closed by previously mentioned fix.
Reproducer
https://codesandbox.io/p/sandbox/recursing-https-4mg3dp
PrimeVue version
3.32.1
Vue version
3.x
Language
TypeScript
Build / Runtime
Vue CLI App
Browser(s)
No response
Steps to reproduce the behavior
And I see no options to properly configure that using ZIndex, as input dropdown panel does not have ability to manually assign z-index which was content of my previously reported bugs.
Expected behavior
No response