Skip to content

feat(VTooltip): target="cursor" should work for hoverable tooltips#22728

Open
J-Sek wants to merge 1 commit intodevfrom
feat/vtooltop-hover-follow-cursor
Open

feat(VTooltip): target="cursor" should work for hoverable tooltips#22728
J-Sek wants to merge 1 commit intodevfrom
feat/vtooltop-hover-follow-cursor

Conversation

@J-Sek
Copy link
Copy Markdown
Contributor

@J-Sek J-Sek commented Mar 18, 2026

resolves #22161

Markup:

<template>
  <v-app theme="dark">
    <v-container class="d-flex justify-center ga-3">

      <v-tooltip target="cursor" open-on-hover>
        <template #activator="{ props: activatorProps }">
          <v-card
            v-bind="activatorProps"
            height="300"
            image="https://picsum.photos/600/300"
            tabindex="0"
            width="600"
          />
        </template>
        <span>I follow the cursor</span>
      </v-tooltip>

      <v-card
        height="300"
        image="https://picsum.photos/600/300"
        tabindex="0"
        width="600"
      >
        <v-tooltip activator="parent" target="cursor" open-on-hover>
          <span>I follow the cursor 2</span>
        </v-tooltip>
      </v-card>

    </v-container>
  </v-app>
</template>

@J-Sek J-Sek self-assigned this Mar 18, 2026
@J-Sek J-Sek added T: enhancement Functionality that enhances existing features C: VTooltip labels Mar 18, 2026
@J-Sek J-Sek marked this pull request as ready for review March 18, 2026 11:05
@J-Sek J-Sek force-pushed the feat/vtooltop-hover-follow-cursor branch from 144f89d to dff1437 Compare March 25, 2026 00:22
@J-Sek J-Sek enabled auto-merge (squash) March 25, 2026 00:22
@J-Sek J-Sek force-pushed the dev branch 2 times, most recently from 5b257fd to 86800d9 Compare March 29, 2026 00:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

C: VTooltip T: enhancement Functionality that enhances existing features

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant