Skip to content

Commit

Permalink
fix reset focus not working on quick copy button
Browse files Browse the repository at this point in the history
  • Loading branch information
Ragnar-Oock committed Feb 26, 2021
1 parent b75c46f commit 4ac7213
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/MusicItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,8 @@ export default {
this.idState.isQuickCopyCliked = true;
this.$nextTick().then(() => {
this.$refs.copyButton.focus();
this.$refs.quickCopyButton.focus();
this.$refs.quickCopyButton.blur();
});
setTimeout(() => {
this.idState.isQuickCopyCliked = false;
Expand Down

0 comments on commit 4ac7213

Please sign in to comment.