You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by an...@apache.org on 2025/04/24 12:46:06 UTC

(activemq-artemis-console) branch main updated: ARTEMIS-5435 - Clicking outside of sort dropdown menus closes them

This is an automated email from the ASF dual-hosted git repository.

andytaylor pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/activemq-artemis-console.git


The following commit(s) were added to refs/heads/main by this push:
     new 725a20e  ARTEMIS-5435 - Clicking outside of sort dropdown menus closes them
725a20e is described below

commit 725a20edc6cf9da5dd997bcc5c7af42f3bdf254f
Author: GChuf <ga...@gmail.com>
AuthorDate: Wed Apr 16 20:55:07 2025 +0200

    ARTEMIS-5435 - Clicking outside of sort dropdown menus closes them
    
    Pressing ESC also works
---
 .../src/artemis-extension/artemis/table/ArtemisTable.tsx                | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/artemis-console-extension/artemis-extension/src/artemis-extension/artemis/table/ArtemisTable.tsx b/artemis-console-extension/artemis-extension/src/artemis-extension/artemis/table/ArtemisTable.tsx
index feb90fe..bc850f9 100644
--- a/artemis-console-extension/artemis-extension/src/artemis-extension/artemis/table/ArtemisTable.tsx
+++ b/artemis-console-extension/artemis-extension/src/artemis-extension/artemis/table/ArtemisTable.tsx
@@ -377,6 +377,7 @@ const operationOptions = [
               onSelect={onFilterColumnStatusSelect}
               selected={filterColumnStatusSelected}
               isOpen={filterColumnStatusIsExpanded}
+              onOpenChange={(isOpen: boolean) => setFilterColumnStatusIsExpanded(isOpen)}
             >
               <SelectList>
                 {columns.map((column, index) => (
@@ -396,6 +397,7 @@ const operationOptions = [
               onSelect={onFilterColumnOperationSelect}
               selected={filterColumnOperationSelected}
               isOpen={filterColumnOperationIsExpanded}
+              onOpenChange={(isOpen: boolean) => setFilterColumnOperationIsExpanded(isOpen)}
             >
               <SelectList>
                 {operationOptions.map((column, _index) => (


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@activemq.apache.org
For additional commands, e-mail: commits-help@activemq.apache.org
For further information, visit: https://activemq.apache.org/contact