mirror of
https://github.com/wekan/wekan.git
synced 2026-03-08 06:32:34 +01:00
Fix mentions and notifications drawer.
Thanks to xet7 ! Fixes #6062, fixes #6003, fixes #5996, fixes #5720, fixes #5911, fixes #5792, fixes #5163, fixes #4431, fixes #4126, fixes #3363, fixes #3150
This commit is contained in:
parent
0d5dd3082c
commit
20b5e2ab8f
14 changed files with 225 additions and 72 deletions
|
|
@ -299,7 +299,7 @@ escapeActions.forEach(actionName => {
|
|||
() => Popup[actionName](),
|
||||
() => Popup.isOpen(),
|
||||
{
|
||||
noClickEscapeOn: '.js-pop-over,.js-open-card-title-popup,.js-open-inlined-form',
|
||||
noClickEscapeOn: '.js-pop-over,.js-open-card-title-popup,.js-open-inlined-form,.textcomplete-dropdown',
|
||||
enabledOnClick: actionName === 'close',
|
||||
},
|
||||
);
|
||||
|
|
|
|||
|
|
@ -32,6 +32,9 @@ $.fn.escapeableTextComplete = function(strategies, options, ...otherArgs) {
|
|||
'textComplete:show'() {
|
||||
dropdownMenuIsOpened = true;
|
||||
},
|
||||
'textComplete:select'() {
|
||||
EscapeActions.preventNextClick();
|
||||
},
|
||||
'textComplete:hide'() {
|
||||
Tracker.afterFlush(() => {
|
||||
// XXX Hack. We unfortunately need to set a setTimeout here to make the
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue