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

The picker did not show up when i use the litepie-picker in the Dialog component #71

Open
syifeng opened this issue Jun 19, 2022 · 0 comments

Comments

@syifeng
Copy link

syifeng commented Jun 19, 2022

In my dialog component when i focused in the litepie-datapicker , the pieker did not show, and the property 'isShow' in setUp did not switch to true either
The dialog

<div
    v-if="show"
    class="fixed top-0 left-0 right-0 bottom-0 dark:bg-white/40 bg-slate-900/60 flex justify-center items-center"
    style="z-index: 2000;"
    @click="emits('close')"
  >
    <span
      v-if="closable"
      class="absolute right-0 top-0 p-2 z-50 cursor-pointer bg-white/30 rounded-full"
      @click="emits('close')">
      <Icon icon="ep:close-bold" width="24"/>
    </span>
    <div
      class="bg-slate-100 rounded-md relative dark:bg-slate-800"
      :class="[width]"
      @click.stop=""
    >
      <div
        v-if="title"
        class="text-lg text-center my-3 top-0 bg-slate-50 dark:bg-stlate-900"
      >{{ title }}</div>
      <slot name="header" />
      <slot />
    </div>
  </div>

The litepie code


    <bs-dialog
      :show="updateWorkDialog.show"
      closable
      width="w-[30rem]"
      @close="updateWorkDialog.show = false"
    >
      <div class="p-3">
        <div
          class="relative"
        >
          <litepie-datepicker
            v-model="updateWorkDialog.model.workDay"
            i18n="zh-cn"
          />
        </div>
      </div>
    </bs-dialog>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant