vuetifyjs / vuetify

🐉 Vue Component Framework
https://vuetifyjs.com
MIT License
39.83k stars 6.96k forks source link

[Documentation] Inconsistent Clipboard Behavior on Homepage (Create Vuetify Project) #20618

Open atharvaunde opened 3 hours ago

atharvaunde commented 3 hours ago

Environment

Browsers: Chrome 130.0.0.0 OS: Mac OS 10.15.7

Steps to reproduce

Upon opening the homepage and refreshing it multiple times, the displayed code snippet alternates between npm create vuetify, yarn create vuetify, and pnpm create vuetify. When clicking the copy button, it does not consistently copy the correct command displayed in the snippet.

Steps :

  1. Navigate to the homepage.
  2. Refresh the page a few times.
  3. Observe the code snippet, which displays various package commands. Click the copy button.

Expected Behavior

The clipboard may not always reflect the command shown when the copy button is clicked.

Actual Behavior

The copy button should consistently copy the command currently displayed in the code snippet.

Reproduction Link

https://vuetifyjs.com/en/

atharvaunde commented 3 hours ago

Added a Quick Patch Here: https://github.com/vuetifyjs/vuetify/pull/20619

johnleider commented 40 minutes ago

Thank you for your contribution and interest in improving Vuetify! Make sure to join us in the Discord community.