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

how to change the zIndex in the pac-container #224

Open
nappalm opened this issue Oct 5, 2023 · 3 comments
Open

how to change the zIndex in the pac-container #224

nappalm opened this issue Oct 5, 2023 · 3 comments

Comments

@nappalm
Copy link

nappalm commented Oct 5, 2023

I am trying to change the z-index of pac-container, but so far I have no solution to the problem. The component is mounted on a mui/material drawer and apparently sits underneath.

If I go directly to the element in the devTools and place a zIndex at the element.style level it works correctly, through the .pac-container class it does not work.

@BiserSirakov
Copy link

same problem +1

@qamraaan
Copy link

qamraaan commented Dec 7, 2023

@nappalm, @BiserSirakov, I hope you guys are having a great day! I am also facing this issue. Have you managed to fix it?

@qamraaan
Copy link

qamraaan commented Dec 7, 2023

.pac-container{
position: absolute;
z-index: 999999;
}
Google provides .pac-container class by default. I added this to the index.css file and my issue was resolved.

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

3 participants