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

fix(VImg): set crossOrigin attribute before src #20915

Merged

Conversation

kzfk
Copy link
Contributor

@kzfk kzfk commented Jan 24, 2025

Description

fixes #20914
ref #17848

As per information in vuejs/core#4680, fix the behavior of Safari,
which changes depending on the order in which the attributes are
described, causing the cache to be unexpected.

Markup:

The only way to check if this is reproduced is with Safari on macos or Safari on iPhone/iPad.

<template>
  <v-app>
    <v-container>
      <v-img crossorigin="anonymous" src="https://t3.ftcdn.net/jpg/00/92/53/56/360_F_92535664_IvFsQeHjBzfE6sD4VHdO8u5OHUSc6yHF.jpg" />
    </v-container>
  </v-app>
</template>

<script>
  export default {
    name: 'Playground',
    setup () {
      return {
        //
      }
    },
  }
</script>

@KaelWD KaelWD changed the title fix(VImg): Bug in order of specification of crossOrigin property in mac Safari fix(VImg): set crossOrigin attribute before src Jan 24, 2025
@KaelWD KaelWD merged commit 910935e into vuetifyjs:master Jan 24, 2025
10 checks passed
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

Successfully merging this pull request may close these issues.

[Bug Report][3.7.7] VImg: Bug in order of specification of crossOrigin property in mac Safari
2 participants