Skip to content
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

Z-index is incorrectly set #2322

Closed
RomanSamohwal opened this issue Sep 24, 2021 · 3 comments
Closed

Z-index is incorrectly set #2322

RomanSamohwal opened this issue Sep 24, 2021 · 3 comments

Comments

@RomanSamohwal
Copy link

[ x ] bug report
[ ] feature request
[ ] support request => Please do not submit support request here, instead see https://forum.primefaces.org/viewforum.php?f=57

I'm submitting a ... (check one with "x")

[ ] bug report
[ ] feature request
[ ] support request => Please do not submit support request here, instead see https://forum.primefaces.org/viewforum.php?f=57

Codesandbox Case (Bug Reports)
https://codesandbox.io/s/intelligent-haibt-xgbrn?file=/src/App.js

Current behavior

The Dropdown component is drawn behind the "Header2" Dialog component. The z-index is not calculated correctly
{C5B32E54-5DA6-4E20-836C-5B71F16A8F9B} png
This is linked by a Tooltip in a Button component that has a z-index. If you remove Tooltip then everything works correctly
{CAFBF328-08C9-4BEE-99CF-C040C25022DF} png

Expected behavior

Expected behavior

Minimal reproduction of the problem with instructions

Please tell us about your environment:

  • React version:

React version:
17.0.2

  • PrimeReact version:

PrimeReact version:
6.5.1

  • Browser: [all | Chrome XX | Firefox XX | IE XX | Safari XX | Mobile Chrome XX | Android X.X Web Browser | iOS XX Safari | iOS XX UIWebView | iOS XX WKWebView ]
  • Language: [all | TypeScript X.X | ES6/7 | ES5]
@vpsgvitor
Copy link
Contributor

#2266

@melloware
Copy link
Member

Yep duplicate of #2266 please close this ticket

@mertsincan mertsincan added the Type: Bug Issue contains a defect related to a specific component. label Nov 3, 2021
@mertsincan mertsincan added this to the 7.0.0.Final milestone Nov 3, 2021
@mertsincan mertsincan removed the Type: Bug Issue contains a defect related to a specific component. label Nov 3, 2021
@mertsincan mertsincan removed this from the 7.0.0.Final milestone Nov 3, 2021
@mertsincan
Copy link
Member

Duplicate of #2266

@mertsincan mertsincan marked this as a duplicate of #2266 Nov 3, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants