-
-
Notifications
You must be signed in to change notification settings - Fork 2.4k
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
useActiveElement and useFocusWithin are not working #3760
Comments
it's because of |
@dylanalizon While reactivity of
Could you reopen this task, please? |
I reported it again in #3774 because the problem persists with the latest version of vue and vueuse. |
There is a reactivity problem on vue@3.4.15, it's working with vue@3.4.14. It's already reported on Vue core repository |
@gkubisa I can't reopen this issue, sorry... You can try to use @dylanalizon said, replace |
Still does not work in the latest 3.4.27, reverting to 3.4.14 indeed fixed the issue |
Describe the bug
The two composables don't work properly.
useActiveElement is not reactive, so useFocusWithin doesn't work either (it uses useActiveElement).
The examples in the documentation reproduce the problems.
Workaround:
Reproduction
https://vueuse.org/core/useActiveElement/
System Info
Used Package Manager
yarn
Validations
The text was updated successfully, but these errors were encountered: