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

useFocusWithin stopped working with Vue 3.4.13 #3787

Closed
7 tasks done
mitjans opened this issue Feb 14, 2024 · 1 comment
Closed
7 tasks done

useFocusWithin stopped working with Vue 3.4.13 #3787

mitjans opened this issue Feb 14, 2024 · 1 comment

Comments

@mitjans
Copy link

mitjans commented Feb 14, 2024

Describe the bug

The useFocusWithin utility is not working from Vue version 3.4.13 onwards.
Additionally, the following warning is thrown on Vue version 3.4.19 (the latest one). This warning only appears in this version.

[Vue warn] Computed is still dirty after getter evaluation, likely because a computed is mutating its own dependency in its getter. State mutations in computed getters should be avoided.  Check the docs for more details: https://vuejs.org/guide/essentials/computed.html#getters-should-be-side-effect-free

Reproduction

https://vueuse.org/core/useFocusWithin/#usefocuswithin

System Info

System:
    OS: Linux 5.15 Ubuntu 22.04.3 LTS 22.04.3 LTS (Jammy Jellyfish)
    CPU: (24) x64 AMD Ryzen 9 5900X 12-Core Processor
    Memory: 9.24 GB / 15.58 GB
    Container: Yes
    Shell: 5.8.1 - /usr/bin/zsh
  Binaries:
    Node: 20.11.0 - ~/.nvm/versions/node/v20.11.0/bin/node
    npm: 10.2.4 - ~/.nvm/versions/node/v20.11.0/bin/npm
    pnpm: 8.15.1 - ~/.nvm/versions/node/v20.11.0/bin/pnpm
  npmPackages:
    @vueuse/core: ^10.7.2 => 10.7.2 
    @vueuse/integrations: ^10.7.2 => 10.7.2 
    @vueuse/nuxt: ^10.7.2 => 10.7.2 
    vue: ^3.4.19 => 3.4.19

Used Package Manager

npm

Validations

@mitjans mitjans closed this as completed Feb 14, 2024
@mitjans
Copy link
Author

mitjans commented Feb 14, 2024

Already being tracked in #3774

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