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

useMagicKeys() in VueUse v8.9.0 will cause the console to report a warning #1793

Closed
7 tasks done
lainbo opened this issue Jul 8, 2022 · 0 comments
Closed
7 tasks done

Comments

@lainbo
Copy link
Contributor

lainbo commented Jul 8, 2022

Describe the bug

3

I use useMagicKeys() and every time the page loses focus and gains focus, the console gives me a warning "Write operation failed: computed value is readonly".

Reproduction

https://codesandbox.io/s/bold-hill-fulen4?file=/src/App.vue

System Info

System:
    OS: Windows 10 10.0.22000
    CPU: (12) x64 12th Gen Intel(R) Core(TM) i5-12400
    Memory: 7.43 GB / 15.75 GB
  Binaries:
    Node: 16.15.1 - D:\Softwares\nodejs\node.EXE
    Yarn: 1.22.19 - D:\Softwares\nodejs\yarn.CMD
    npm: 8.11.0 - D:\Softwares\nodejs\npm.CMD
  Browsers:
    Edge: Spartan (44.22000.120.0), Chromium (103.0.1264.49)
    Internet Explorer: 11.0.22000.120

Used Package Manager

yarn

Validations

@antfu antfu closed this as completed in 3c85db4 Jul 8, 2022
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

No branches or pull requests

1 participant