Skip to content

fix(VChip): Prevent default onClose #19496

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

Merged
merged 1 commit into from
Mar 28, 2024
Merged

Conversation

De-Hann
Copy link
Contributor

@De-Hann De-Hann commented Mar 28, 2024

Fixes #19461

Chip still navigates to href link even if close icon is clicked

<template>
  <v-app>
    <v-container>
      <v-chip href="https://vuetifyjs.com" closable> chip A </v-chip>
      <v-chip to="https://vuetifyjs.com" closable> chip B </v-chip>
      <v-chip href="https://vuetifyjs.com" closable> chip C </v-chip>
    </v-container>
  </v-app>
</template>

<script>
export default {
  name: "Playground",
};
</script>

@johnleider johnleider added T: bug Functionality that does not work as intended/expected C: VChip labels Mar 28, 2024
@johnleider johnleider added this to the v3.5.x milestone Mar 28, 2024
@johnleider johnleider merged commit 3e3294a into vuetifyjs:master Mar 28, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C: VChip T: bug Functionality that does not work as intended/expected
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug Report][3.5.10] Closable VChip doesn't prevent navigation when href/to prop is used
2 participants