Problem with z-index (video above component button and textinput)
Copy link to clipboard
Copied
Hi,
I have a small problem with my components "button" and "textinput".
I added a background video with the code :
canvas.style.zIndex = "1"
so that the other elements are above. I also made the scene background transparent.
All the elements are well above except the 2 components "button" and "textinput" which remains below the video.
Do you have any idea how to fix the problem please ? Thank you and good day.
Copy link to clipboard
Copied
Actually i just saw that the code
canvas.style.zIndex = "1"
the operation of the 2 components. They have below and cannot work with the code. How to do ?
Copy link to clipboard
Copied
The code blocks the components I meant.
Copy link to clipboard
Copied
I tried again, but I can't put the video on the bottom and the components on the top
And the code locks
canvas.style.zIndex = "1"
both components.
Has anyone encountered the problem before?

