Maksim Sukharev
6 days ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
2 additions and
2 deletions
-
src/components/MessagesList/MessagesGroup/Message/MessageButtonsBar/MessageTranslateDialog.vue
|
|
@ -5,7 +5,6 @@ |
|
|
|
|
|
|
|
<template> |
|
|
|
<NcDialog |
|
|
|
ref="translateDialog" |
|
|
|
class="translate-dialog" |
|
|
|
:name="t('spreed', 'Translate message')" |
|
|
|
size="large" |
|
|
@ -205,7 +204,8 @@ export default { |
|
|
|
|
|
|
|
this.$nextTick(() => { |
|
|
|
// FIXME trick to avoid focusTrap() from activating on NcSelect |
|
|
|
this.isMounted = !!this.$refs.translateDialog.navigationId |
|
|
|
// REMOVE: if we add a fix to disable initial focus in NcModal upstream |
|
|
|
this.isMounted = true |
|
|
|
}) |
|
|
|
}, |
|
|
|
|
|
|
|