VALERIY SINEVICH
VALERIY SINEVICH
@dosstx [dosstx](https://github.com/dosstx) Studied the code of some Nuxt3 modules. Need to add: https://v3.nuxtjs.org/guide/going-further/esm/#transpiling-libraries
Dublicated https://github.com/Akryum/floating-vue/issues/872
> Same here @or2e It seems, the only workaround is to set `:autoHide="false"` and hide on focus out. Hi) Then behavior don't work: `close if clicked outside`
resolved in https://github.com/Akryum/floating-vue/commit/919df7c71c7c058e36be0e04121adbdc2a8939b9
nuxt.config.js ` build: { extend(config, ctx) { config.resolve.alias.vue = 'vue/dist/vue.common'; } }`
bump Reproduction: https://stackblitz.com/edit/vitejs-vite-t58z89?file=src%2FApp.vue **Expected behavior**: only the closest dropdown is closed when calling the `hide` method **Current behavior**: the all dropdown hierarchy closes
[zhaivoronok](https://github.com/zhaivoronok), [kduvignau](https://github.com/kduvignau) Very dirty hack, nothing seems to be broken (but it's not for sure) https://github.com/Akryum/floating-vue/blob/main/packages/floating-vue/src/components/Popper.ts#L454 ```diff if (this.shownChildren.size > 0) { - this.$_pendingHide = true return } ``` https://github.com/Akryum/floating-vue/blob/main/packages/floating-vue/src/components/Popper.ts#L477...
@ishaiavrahami No ( Updated the reproduction: https://stackblitz.com/edit/vitejs-vite-kfcze6?file=src%2FApp.vue
I've updated the reproduction Also found very strange `pending` behavior when adding the watch option https://github.com/nuxt/nuxt/assets/33551334/989aaab5-f0d7-4b24-b017-5af2e951e057