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
Tooltip: Unavailable configuration breaks z-index #2946
Comments
I've tried to create an example using vite-quickstart, but could not replicate the issue. Did you have a codesandbox link or a repo, to replicate the issue? |
Hi, we experienced the same issue in components using script setup syntax. @tugcekucukoglu |
We will check it again. Thanks for the repo. |
Please follow this ticket #2468 You could use
|
Describe the bug
The z-index mechanism provided by utils/ZIndexUtils get broken by a bug in the Tooltip component.
In the
beforeMount
hook component loadsconfig.zIndex.tooltip
fromoptions.instance.$primevue
that is undefined (tooltip/Tooltip.js).
Being
$_ptooltipZIndex
undefined breaks z-index stack provided by ZIndexUtils.add/clear affecting other components.Apart from fixing the bug a sensible default should be provided (1100 for example).
Reproducer
No response
PrimeVue version
3.16.2
Vue version
3.x
Language
TypeScript
Build / Runtime
Vite
Browser(s)
No response
Steps to reproduce the behavior
Expected behavior
No response
The text was updated successfully, but these errors were encountered: