ui icon indicating copy to clipboard operation
ui copied to clipboard

AvatarGroup & Tooltip

Open pierre-sigwalt opened this issue 3 months ago • 3 comments

Environment

Is this bug related to Nuxt or Vue?

Nuxt

Package

v3.x

Version

3.17.4

Reproduction

          <UAvatarGroup
            v-if="sharedUsers.length"
            :max="3"
            size="sm"
            @click="isShareProjectModalOpen = true"
          >
            <UTooltip
              v-for="user in sharedUsers"
              :key="user.emailAddress"
              :text="user.fullName ?? user.emailAddress"
              :delay-duration="0"
            >
              <UAvatar
                :src="user.avatar ?? undefined"
                :alt="user.fullName ?? user.emailAddress"
              />
            </UTooltip>
          </UAvatarGroup>

    <ShareProjectModal
      v-if="project"
      v-model:open="isShareProjectModalOpen"
      :project="project"
      :template-name="project.template.name"
      :primary-document-references="project.template.primary_document_reference?.map(d => d.name) || []"
    />

SharedModal

  <UModal
    v-model:open="isOpen"
    :ui="{
      content: 'max-w-124',
      footer: 'justify-between',
      body: 'flex flex-col gap-4 px-0 sm:px-0',
    }"
  >

</UModal>

Description

Hi, we are using v4 with an avatarGroup tooltip

          <UAvatarGroup
            v-if="sharedUsers.length"
            :max="3"
            size="sm"
            @click="isShareProjectModalOpen = true"
          >
            <UTooltip
              v-for="user in sharedUsers"
              :key="user.emailAddress"
              :text="user.fullName ?? user.emailAddress"
              :delay-duration="0"
            >
              <UAvatar
                :src="user.avatar ?? undefined"
                :alt="user.fullName ?? user.emailAddress"
              />
            </UTooltip>
          </UAvatarGroup>

We have few modal opening on the same page however we have inconsistency with the tooltip when playing around opening UModal on the page the tooltip would stop working. has anyone encounter such issue?

Additional context

No response

Logs


pierre-sigwalt avatar Sep 08 '25 01:09 pierre-sigwalt

Would you be able to provide a reproduction? 🙏

More info

Why do I need to provide a reproduction?

Reproductions make it possible for us to triage and fix issues quickly with a relatively small team. It helps us discover the source of the problem, and also can reveal assumptions you or we might be making.

What will happen?

If you've provided a reproduction, we'll remove the label and try to reproduce the issue. If we can, we'll mark it as a bug and prioritise it based on its severity and how many people we think it might affect.

If needs reproduction labeled issues don't receive any substantial activity (e.g., new comments featuring a reproduction link), they will be closed automatically after a while. That's not because we don't care! At any point, feel free to comment with a reproduction and we'll reopen it.

How can I create a reproduction?

We have templates to create a minimal reproduction:

  • Nuxt: https://codesandbox.io/p/devbox/nuxt-ui3-n3sxks
  • Vue: https://codesandbox.io/p/devbox/nuxt-ui3-vue-4h5gqn

Please ensure that the reproduction is as minimal as possible. See more details in our guide.

You might also find these other articles interesting and/or helpful:

github-actions[bot] avatar Sep 14 '25 06:09 github-actions[bot]

This seems like a duplicate of https://github.com/nuxt/ui/issues/4274 but I would need to see a repro to be sure.

@pierre-sigwalt Perhaps you could use the workaround I've described in https://github.com/nuxt/ui/issues/4274#issuecomment-2942713877 for the time being and see if that helps.

J-Michalek avatar Sep 14 '25 06:09 J-Michalek

Hi! 👋 This issue has been open for 60 days without activity and will be closed in 7 days. Please comment if it's still relevant.

github-actions[bot] avatar Nov 14 '25 02:11 github-actions[bot]

Hi! 👋 This issue was automatically closed due to inactivity. If it's still relevant with the latest Nuxt UI version, feel free to reopen or create a new issue.

github-actions[bot] avatar Nov 22 '25 02:11 github-actions[bot]