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

Setting the "z-index" value #377

Closed
osworx opened this issue Sep 15, 2022 · 2 comments · Fixed by #380
Closed

Setting the "z-index" value #377

osworx opened this issue Sep 15, 2022 · 2 comments · Fixed by #380
Labels
enhancement New feature or request

Comments

@osworx
Copy link

osworx commented Sep 15, 2022

First of all, great plugin.

What I had troubles to implement it into w webshop.
The problem: another (small) popup-window is loaded and is placed over the cookie consent window.
Which has currently an "z-index" of 1000000 (line 935 of 2.8.0 version, 959 of latest version)
main_container.style.zIndex = "1000000";

Could a variable be added to the config file to be able to configure this value when needed?

@orestbida
Copy link
Owner

Hi @osworx,

I'd like to to avoid adding new features, especially if we consider that this can be easily achieved via CSS.

A simpler solution would be to simply set the value of the z-Index prop. to 2147483647 — the highest accepted value — which should solve the issue.

@orestbida orestbida added the enhancement New feature or request label Sep 15, 2022
@osworx
Copy link
Author

osworx commented Sep 15, 2022

I'd like to to avoid adding new features, especially if we consider that this can be easily achieved via CSS.

A simpler solution would be to simply set the value of the z-Index prop. to 2147483647 — the highest accepted value — which should solve the issue.

This is how I achieved it with that current implementation.
And finally the simpliest solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants