From 45514e6665508c52ef286407189d91d8814b6883 Mon Sep 17 00:00:00 2001 From: Jane Sandberg Date: Sun, 9 Jun 2019 20:57:49 -0700 Subject: [PATCH] LP1832146: Make sure that comboboxes don't get cut off To test: 1) Go to the sandbox and open the accordion. 2) Open the combobox. Note that it isn't cut off. 3) Go to Administration > Acquisitions Administration > Exchange Rates. 4) Click New Exchange Rate. 5) Go to the "From Currency" and "To Currency" fields. 6) Note that the dropdowns are visible and not cut off. Signed-off-by: Jane Sandberg --- .../eg2/src/app/share/combobox/combobox.component.html | 1 + .../src/app/share/org-select/org-select.component.html | 1 + .../eg2/src/app/staff/sandbox/sandbox.component.html | 17 +++++++++++++++++ Open-ILS/src/eg2/src/styles.css | 8 ++++++++ 4 files changed, 27 insertions(+) diff --git a/Open-ILS/src/eg2/src/app/share/combobox/combobox.component.html b/Open-ILS/src/eg2/src/app/share/combobox/combobox.component.html index 0a5deeeb8c..34818cb220 100644 --- a/Open-ILS/src/eg2/src/app/share/combobox/combobox.component.html +++ b/Open-ILS/src/eg2/src/app/share/combobox/combobox.component.html @@ -18,6 +18,7 @@ [inputFormatter]="formatDisplayString" (click)="click$.next($event.target.value)" (blur)="onBlur()" + container="body" (selectItem)="selectorChanged($event)" #instance="ngbTypeahead"/>
diff --git a/Open-ILS/src/eg2/src/app/share/org-select/org-select.component.html b/Open-ILS/src/eg2/src/app/share/org-select/org-select.component.html index cf7b93d80f..d49217c6fb 100644 --- a/Open-ILS/src/eg2/src/app/share/org-select/org-select.component.html +++ b/Open-ILS/src/eg2/src/app/share/org-select/org-select.component.html @@ -21,6 +21,7 @@ [inputFormatter]="formatter" (click)="click$.next($event.target.value)" (selectItem)="orgChanged($event)" + container="body" #instance="ngbTypeahead" /> diff --git a/Open-ILS/src/eg2/src/app/staff/sandbox/sandbox.component.html b/Open-ILS/src/eg2/src/app/staff/sandbox/sandbox.component.html index 54cd87d11e..042fb429a5 100644 --- a/Open-ILS/src/eg2/src/app/staff/sandbox/sandbox.component.html +++ b/Open-ILS/src/eg2/src/app/staff/sandbox/sandbox.component.html @@ -126,6 +126,23 @@


+ + + + + + + + + + + + +

+ HELLO {{userContext.hello}} diff --git a/Open-ILS/src/eg2/src/styles.css b/Open-ILS/src/eg2/src/styles.css index 0ffd6b576a..5819e336ba 100644 --- a/Open-ILS/src/eg2/src/styles.css +++ b/Open-ILS/src/eg2/src/styles.css @@ -195,3 +195,11 @@ h5 {font-size: .95rem} #eg-print-container pre {border: none} } +/** + * Make sure that comboboxes (including org select + * are visible, even in nested modals. + * + * See https://github.com/ng-bootstrap/ng-bootstrap/issues/2505 + * for the upstream issue that necessitates this. + */ +body>.dropdown-menu {z-index: 2100;} -- 2.11.0