Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Problem with z-index (video above component button and textinput)

Community Beginner ,
Aug 19, 2022 Aug 19, 2022

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.

273
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Aug 19, 2022 Aug 19, 2022

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 ?

 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Aug 19, 2022 Aug 19, 2022

The code blocks the components I meant.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Aug 26, 2022 Aug 26, 2022
LATEST

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?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines