You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After recent update to vue 3.5, we encountered regression on setting focus after Dialog is closed, which is significant accessibility setback.
It seems that with vue 3.5 in some scenarios computed properties get calculated sooner than before, which makes it skip to restoration in unMounted hook.
In the reproduction URL, you can reproduce it by clicking on Open Dialog 2, closing the Dialog. And when hitting <Tab> you can see its starting from Open Dialog 1, instead of Open Dialog 2 button.
The text was updated successfully, but these errors were encountered:
After recent update to vue 3.5, we encountered regression on setting focus after Dialog is closed, which is significant accessibility setback.
It seems that with vue 3.5 in some scenarios computed properties get calculated sooner than before, which makes it skip to restoration in unMounted hook.
Here is PR to address it #3687
What package within Headless UI are you using?
@headlessui/vue
What version of that package are you using?
v1.7.23
What browser are you using?
Chrome
Reproduction URL
Describe your issue
In the reproduction URL, you can reproduce it by clicking on Open Dialog 2, closing the Dialog. And when hitting
<Tab>
you can see its starting from Open Dialog 1, instead of Open Dialog 2 button.The text was updated successfully, but these errors were encountered: