Keep dropdown tree open when action context menu opens

This commit is contained in:
nathan 2024-11-05 10:10:39 -07:00
parent e72c2e492a
commit 49be819828
6 changed files with 17 additions and 1 deletions

View File

@ -15,6 +15,7 @@ import {SearchMixin, SearchResult, SearchResultElement, SearchResultsInterface}
import {Et2InputWidgetInterface} from "../Et2InputWidget/Et2InputWidget";
import {Required} from "../Validators/Required";
import {SelectOption} from "../Et2Select/FindSelectOptions";
import {EgwMenuShoelace} from "../../egw_action/EgwMenuShoelace";
interface TreeSearchResults extends SearchResultsInterface<TreeItemData>
@ -612,7 +613,7 @@ export class Et2TreeDropdown extends SearchMixin<Constructor<any> & Et2InputWidg
let o = event.relatedTarget;
while(o)
{
if(o == this.shadowRoot)
if(o == this.shadowRoot || o instanceof EgwMenuShoelace)
{
return;
}

View File

@ -7108,6 +7108,9 @@ div.dhtmlxMenu_egw_SubLevelArea_Polygon table.dhtmlxMebu_SubLevelArea_Tbl tr.sub
div.dhtmlxMenu_egw_SubLevelArea_Polygon table.dhtmlxMebu_SubLevelArea_Tbl div.complex_arrow {
background-image: url('../../api/templates/default/images/dhxmenu_subar.svg');
}
body > .egw_menu::part(popup) {
z-index: var(--sl-z-index-dropdown);
}
body > .egw_menu egw-menu-shoelace {
--sl-shadow-x-large: 0 4px 16px hsla(240, 3.8%, 46.1%, 0.6);
}

View File

@ -7111,6 +7111,9 @@ div.dhtmlxMenu_egw_SubLevelArea_Polygon table.dhtmlxMebu_SubLevelArea_Tbl tr.sub
div.dhtmlxMenu_egw_SubLevelArea_Polygon table.dhtmlxMebu_SubLevelArea_Tbl div.complex_arrow {
background-image: url('../../api/templates/default/images/dhxmenu_subar.svg');
}
body > .egw_menu::part(popup) {
z-index: var(--sl-z-index-dropdown);
}
body > .egw_menu egw-menu-shoelace {
--sl-shadow-x-large: 0 4px 16px hsla(240, 3.8%, 46.1%, 0.6);
}

View File

@ -7101,6 +7101,9 @@ div.dhtmlxMenu_egw_SubLevelArea_Polygon table.dhtmlxMebu_SubLevelArea_Tbl tr.sub
div.dhtmlxMenu_egw_SubLevelArea_Polygon table.dhtmlxMebu_SubLevelArea_Tbl div.complex_arrow {
background-image: url('../../api/templates/default/images/dhxmenu_subar.svg');
}
body > .egw_menu::part(popup) {
z-index: var(--sl-z-index-dropdown);
}
body > .egw_menu egw-menu-shoelace {
--sl-shadow-x-large: 0 4px 16px hsla(240, 3.8%, 46.1%, 0.6);
}

View File

@ -384,6 +384,9 @@ div.dhtmlxMenu_egw_SubLevelArea_Polygon table.dhtmlxMebu_SubLevelArea_Tbl tr.sub
div.dhtmlxMenu_egw_SubLevelArea_Polygon table.dhtmlxMebu_SubLevelArea_Tbl div.complex_arrow {
background-image: url('../../api/templates/default/images/dhxmenu_subar.svg');
}
body > .egw_menu::part(popup) {
z-index: var(--sl-z-index-dropdown);
}
body > .egw_menu egw-menu-shoelace {
--sl-shadow-x-large: 0 4px 16px hsl(240 3.8% 46.1% / 60%);
}

View File

@ -6918,6 +6918,9 @@ div.dhtmlxMenu_egw_SubLevelArea_Polygon table.dhtmlxMebu_SubLevelArea_Tbl tr.sub
div.dhtmlxMenu_egw_SubLevelArea_Polygon table.dhtmlxMebu_SubLevelArea_Tbl div.complex_arrow {
background-image: url('../../api/templates/default/images/dhxmenu_subar.svg');
}
body > .egw_menu::part(popup) {
z-index: var(--sl-z-index-dropdown);
}
body > .egw_menu egw-menu-shoelace {
--sl-shadow-x-large: 0 4px 16px hsla(240, 3.8%, 46.1%, 0.6);
}