From 5b3f06853e4bf22200b56428eba29a4da21c80b8 Mon Sep 17 00:00:00 2001
From: vashjs <86330150+vashjs@users.noreply.github.com>
Date: Fri, 22 Sep 2023 11:53:44 +0100
Subject: [PATCH] UIPQB-48 "Show columns" dropdown doesn't fit in the screen.
(#58)
---
CHANGELOG.md | 2 +-
.../QueryBuilder/TestQuery/ColumnsDropdown/ColumnsDropdown.js | 3 ++-
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 9394ed46..b365bdae 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -27,4 +27,4 @@
* [UIPQB-45](https://issues.folio.org/browse/UIPQB-45) Query builder dies when certain characters are used in combination with regex operators.
* [UIPQB-46](https://issues.folio.org/browse/UIPQB-46) Incorrect text when no options available in the query builder's search bar.
* [UIPQB-50](https://issues.folio.org/browse/UIPQB-50)Add 'in-progress' handling to plugin-query-builder
-
+* [UIPQB-48](https://issues.folio.org/browse/UIPQB-48) "Show columns" dropdown doesn't fit in the screen.
diff --git a/src/QueryBuilder/QueryBuilder/TestQuery/ColumnsDropdown/ColumnsDropdown.js b/src/QueryBuilder/QueryBuilder/TestQuery/ColumnsDropdown/ColumnsDropdown.js
index 33d34427..83ba9bd4 100644
--- a/src/QueryBuilder/QueryBuilder/TestQuery/ColumnsDropdown/ColumnsDropdown.js
+++ b/src/QueryBuilder/QueryBuilder/TestQuery/ColumnsDropdown/ColumnsDropdown.js
@@ -9,10 +9,11 @@ export const ColumnsDropdown = memo(({ columns, visibleColumns, onColumnChange }
}
mame="test-query-preview-dropdown"
+ usePortal
>