From b5f364c016ac8a9af1322fb363734ad7c5d84bf7 Mon Sep 17 00:00:00 2001 From: connoratrug <47183404+connoratrug@users.noreply.github.com> Date: Thu, 21 Mar 2024 09:39:17 +0100 Subject: [PATCH] fix: floating vue hydration mismatch (#3526) The VDropdown component from the floating-vue lib results in a hydration errors due to the way the lib edits the dom issue is reported: https://github.com/Akryum/floating-vue/issues/1006 Workaround implemented as proposed in: https://github.com/Akryum/floating-vue/issues/1006#issuecomment-2007638042 --- apps/nuxt3-ssr/components/BottomModal.vue | 2 ++ apps/nuxt3-ssr/components/FilterWell.vue | 4 +++- apps/nuxt3-ssr/components/SideModal.vue | 2 ++ .../harmonization/HarmonizationLegendDetailed.vue | 8 +++++++- .../harmonization/HarmonizationLegendMatrix.vue | 8 +++++++- 5 files changed, 21 insertions(+), 3 deletions(-) diff --git a/apps/nuxt3-ssr/components/BottomModal.vue b/apps/nuxt3-ssr/components/BottomModal.vue index 5845bfb502..410dbbcebf 100644 --- a/apps/nuxt3-ssr/components/BottomModal.vue +++ b/apps/nuxt3-ssr/components/BottomModal.vue @@ -1,4 +1,5 @@