From e0606b49f178d4b5cf3272f2636432d49a741c3f Mon Sep 17 00:00:00 2001 From: curo1305 Date: Tue, 16 Jun 2026 08:24:28 +0200 Subject: [PATCH] feat(10-11): teleport DocumentCard folder picker to body with getBoundingClientRect positioning - Add pickerTriggerEl ref and pickerStyle computed from getBoundingClientRect - Wrap folder picker dropdown in Teleport to body with data-test attribute - Add updatePickerPosition() called on toggle, scroll, and resize - Add window scroll/resize listeners with cleanup in onUnmounted - 2 DocumentCard dropdown tests now pass --- .../src/components/documents/DocumentCard.vue | 95 ++++++++++++++----- 1 file changed, 73 insertions(+), 22 deletions(-) diff --git a/frontend/src/components/documents/DocumentCard.vue b/frontend/src/components/documents/DocumentCard.vue index 0b4a4cf..5807bb9 100644 --- a/frontend/src/components/documents/DocumentCard.vue +++ b/frontend/src/components/documents/DocumentCard.vue @@ -62,6 +62,7 @@
- -
- - -

No folders yet

-
+ +

No folders yet

+ +