Skip to content
This repository has been archived by the owner on Mar 14, 2021. It is now read-only.

z-index issue #16

Open
srimanaravind opened this issue Oct 9, 2020 · 2 comments
Open

z-index issue #16

srimanaravind opened this issue Oct 9, 2020 · 2 comments

Comments

@srimanaravind
Copy link

srimanaravind commented Oct 9, 2020

image

Is there any option to set the z-index or "append to body" for this date picker? I can't find anything in the document,

Or anyone able to help me how to fix this issue?

@kenhyuwa

@joeelia
Copy link

joeelia commented Oct 28, 2020

Try setting :inline="true" as such:

<VueTailWindPicker
    :inline="true"
    :init="false"
    @change="(v) => (value = v)"
>
    <input v-model="value" placeholder="Example initial value" />
</VueTailWindPicker>

@quantumlink
Copy link

quantumlink commented Nov 11, 2020

That appears to make it always open.

I was able to use style="position: absolute" :z-index="999 - card.id" for my case where I had many of them and they would get on top of each other.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants