Skip to content

Commit 82fff45

Browse files
committed
Keep autocomplete custom field dropdowns visible during search in inline edit
This commit addresses an inline edit issue on the ticket list. Previously, all children of inline editor form with "loading" class were hidden, which inadvertently included TomSelect dropdowns used in autocomplete custom fields: they can also have a "loading" class when updating options in response to your search string.
1 parent 7afee33 commit 82fff45

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

share/static/css/elevator/inline-edit.css

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,14 +69,17 @@ div.editable.loading>form.editor>.cancel {
6969
display: none;
7070
}
7171

72-
div.editable.loading>form.editor>.loading {
72+
/* .spinner-border avoids conflicts with other .loading elements.
73+
E.g. TomSelect elements have .loading while a remote search is in progress. */
74+
75+
div.editable.loading>form.editor>.loading.spinner-border {
7376
display: flex;
7477
margin-top: 0.5em;
7578
margin-left: 0.5em;
7679
padding: 0.5em;
7780
}
7881

79-
div.editable>form.editor>.loading {
82+
div.editable>form.editor>.loading.spinner-border {
8083
display: none;
8184
}
8285

0 commit comments

Comments
 (0)