GithubHelp home page GithubHelp logo

Comments (8)

ddzy avatar ddzy commented on May 16, 2024 2

@ddzy please try updating Vue to v3.1.5

TKS, upgrade vue from 3.0.5 to 3.1.5 solved my problem.

image

image

from vue3-popper.

valgeirb avatar valgeirb commented on May 16, 2024

Maybe I'm missing something obvious, but it seems to be working for me - the popper div gets the z-index property that you pass in as a prop.

Can you help me with this?

Popper
devtools

from vue3-popper.

ddzy avatar ddzy commented on May 16, 2024

I think the problem maybe caused by css's priority🤔:

  • Passing the zIndex property to Popper component directly(not working)
  • In my browser, add the z-index css propery into popper div's inline stylesheet manually(working well)

from vue3-popper.

valgeirb avatar valgeirb commented on May 16, 2024
  • Passing the zIndex property to Popper component directly(not working)

This is weird since that works for me, can you create a reproduction of this somehow with CodeSandbox?

I made an example as well (with zIndex set to 123), can you please check it out and compare it to your code?

Also, if you don't use the zIndex prop (just skip it), the default z-index should default to 9999 - can you check if that works?

from vue3-popper.

viazovskyi585 avatar viazovskyi585 commented on May 16, 2024

I have same bug.
image
image
There is no property with css variable when i pass prop.
But i don't need dynamic z-index so i just fix it with css rule
image

from vue3-popper.

valgeirb avatar valgeirb commented on May 16, 2024

What version of Vue are you using? Can you try updating to v3.1.5 and see if that does anything for you?

I'm using the SFC style variables for this feature and I might need to back away from that.

from vue3-popper.

viazovskyi585 avatar viazovskyi585 commented on May 16, 2024

Probably thats a problem, im running vue v3.0.4

from vue3-popper.

valgeirb avatar valgeirb commented on May 16, 2024

@ddzy please try updating Vue to v3.1.5

from vue3-popper.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.