[ARVADOS-WORKBENCH2] created: 1.2.0-284-gaa1d8de

Git user git at public.curoverse.com
Wed Sep 5 07:14:13 EDT 2018


        at  aa1d8deaccc72c09fab378b19502b20791d16ae6 (commit)


commit aa1d8deaccc72c09fab378b19502b20791d16ae6
Author: Pawel Kowalczyk <pawel.kowalczyk at contractors.roche.com>
Date:   Wed Sep 5 13:13:57 2018 +0200

    menu-triggered-by-clicking-on-the-icon-is-placed-incorrectly
    
    Feature #14127
    
    Arvados-DCO-1.1-Signed-off-by: Pawel Kowalczyk <pawel.kowalczyk at contractors.roche.com>

diff --git a/src/components/dropdown-menu/dropdown-menu.tsx b/src/components/dropdown-menu/dropdown-menu.tsx
index 73b279b..e346eb8 100644
--- a/src/components/dropdown-menu/dropdown-menu.tsx
+++ b/src/components/dropdown-menu/dropdown-menu.tsx
@@ -22,8 +22,8 @@ export class DropdownMenu extends React.Component<DropdownMenuProps, DropdownMen
     };
 
     transformOrigin: PopoverOrigin = {
-        vertical: "top",
-        horizontal: "center"
+        vertical: -50,
+        horizontal: 0
     };
 
     render() {
@@ -44,7 +44,6 @@ export class DropdownMenu extends React.Component<DropdownMenuProps, DropdownMen
                     open={Boolean(anchorEl)}
                     onClose={this.handleClose}
                     onClick={this.handleClose}
-                    anchorOrigin={this.transformOrigin}
                     transformOrigin={this.transformOrigin}>
                     {children}
                 </Menu>

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list