mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-11 13:58:54 +00:00
[ticket/13713] Fix multiple dropdown issues
PHPBB3-13713
This commit is contained in:
parent
99e93a5a04
commit
f64dbf5303
3 changed files with 6 additions and 6 deletions
|
@ -1686,7 +1686,6 @@ fieldset.submit-buttons legend {
|
||||||
0 1px 5px 0 rgba(0, 0, 0, 0.12);
|
0 1px 5px 0 rgba(0, 0, 0, 0.12);
|
||||||
position: absolute;
|
position: absolute;
|
||||||
z-index: 999;
|
z-index: 999;
|
||||||
overflow: auto;
|
|
||||||
transition: all 0.2s ease;
|
transition: all 0.2s ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1695,6 +1694,8 @@ fieldset.submit-buttons legend {
|
||||||
}
|
}
|
||||||
|
|
||||||
.atwho-view-ul { /* mention-list */
|
.atwho-view-ul { /* mention-list */
|
||||||
|
overflow: auto;
|
||||||
|
max-height: 200px;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
list-style-type: none;
|
list-style-type: none;
|
||||||
|
@ -1736,7 +1737,6 @@ svg.mention-media-avatar { /* TODO: remove it after general normalization */
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
justify-content: flex-start;
|
justify-content: flex-start;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
max-width: 300px;
|
|
||||||
padding: 16px;
|
padding: 16px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
|
@ -443,7 +443,7 @@ function getCaretPosition(txtarea) {
|
||||||
}
|
}
|
||||||
|
|
||||||
let cachedKeyword = getCachedKeyword(query),
|
let cachedKeyword = getCachedKeyword(query),
|
||||||
cachedNamesForQuery = (cachedKeyword) ? cachedNames[cachedKeyword] : null;
|
cachedNamesForQuery = (cachedKeyword != null) ? cachedNames[cachedKeyword] : null;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Use cached values when we can:
|
* Use cached values when we can:
|
||||||
|
@ -465,7 +465,7 @@ function getCaretPosition(txtarea) {
|
||||||
$.getJSON(mentionURL, params, function(data) {
|
$.getJSON(mentionURL, params, function(data) {
|
||||||
cachedNames[query] = data.names;
|
cachedNames[query] = data.names;
|
||||||
cachedAll[query] = data.all;
|
cachedAll[query] = data.all;
|
||||||
callback(data);
|
callback(data.names);
|
||||||
}).always(function() {
|
}).always(function() {
|
||||||
queryInProgress = null;
|
queryInProgress = null;
|
||||||
});
|
});
|
||||||
|
|
|
@ -18,11 +18,12 @@
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
z-index: 999;
|
z-index: 999;
|
||||||
overflow: auto;
|
|
||||||
transition: all 0.2s ease;
|
transition: all 0.2s ease;
|
||||||
}
|
}
|
||||||
|
|
||||||
.atwho-view-ul { /* mention-list */
|
.atwho-view-ul { /* mention-list */
|
||||||
|
overflow: auto;
|
||||||
|
max-height: 200px;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
list-style-type: none;
|
list-style-type: none;
|
||||||
|
@ -57,7 +58,6 @@ svg.mention-media-avatar { /* TODO: remove it after general normalization */
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
justify-content: flex-start;
|
justify-content: flex-start;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
max-width: 300px;
|
|
||||||
padding: 16px;
|
padding: 16px;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue