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

Hydration attribute mismatch, when using the Modal in Nuxt 3 #465

Closed
5 tasks done
asrori7 opened this issue Mar 4, 2024 · 2 comments
Closed
5 tasks done

Hydration attribute mismatch, when using the Modal in Nuxt 3 #465

asrori7 opened this issue Mar 4, 2024 · 2 comments
Labels
duplicate This issue or pull request already exists

Comments

@asrori7
Copy link

asrori7 commented Mar 4, 2024

Describe the bug

In the nuxt framework, using the modal, a Hydration attribute mismatch warning, will be prompted in the console.
image

Reproduction

https://stackblitz.com/edit/nuxt-starter-uewfwc?file=app.vue

Steps to reproduce

<script setup lang="ts">
const active = ref(false);
</script>

<template>
  <div>
    <VButton type="primary" @click="active = !active"> Open </VButton>

    <VModal
      v-model:active="active"
      transfer
      title="Title"
      :width="500"
      :height="300"
      modal-class="demo-modal"
    >
      <VNativeScroll use-y-bar height="100%" scroll-style="padding: 14px;">
        <p v-for="n in 20" :key="n">Some content</p>
      </VNativeScroll>
    </VModal>
  </div>
</template>

System Info

No response

Validations

@qmhc qmhc added the duplicate This issue or pull request already exists label Mar 5, 2024
@qmhc
Copy link
Collaborator

qmhc commented Mar 5, 2024

duplicate of #463.

@qmhc qmhc closed this as completed Mar 5, 2024
@asrori7
Copy link
Author

asrori7 commented Mar 6, 2024

oh sorry, i don't know if the modal module is the same as the drawer

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists
Projects
None yet
Development

No branches or pull requests

2 participants