diff --git a/CHANGELOG b/CHANGELOG index c280cc90d..a91559b2d 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -5,6 +5,7 @@ CHANGELOG Roundcube Webmail - Enigma: Fix so using list checkbox selection does not load the key preview frame - Password: Make chpass-wrapper.py Python 3 compatible (#7135) - Elastic: Fix bug where it was possible to switch editor mode when 'htmleditor' was in 'dont_override' (#7143) +- Elastic: Fix text selection in recipient inputs (#7129) - Fix regression where "Open in new window" action didn't work (#7155) - Fix PHP Warning: array_filter() expects parameter 1 to be array, null given in subscriptions_option plugin (#7165) - Fix unexpected error message when mail refresh involves folder auto-unsubscribe (#6923) diff --git a/skins/elastic/styles/widgets/forms.less b/skins/elastic/styles/widgets/forms.less index ee82c3e15..3b3892518 100644 --- a/skins/elastic/styles/widgets/forms.less +++ b/skins/elastic/styles/widgets/forms.less @@ -957,7 +957,6 @@ html.ms .propform { .name { .overflow-ellipsis; flex-grow: 1; - display: inline-block; line-height: 1.1; padding: floor(.25 * @page-font-size); vertical-align: middle; @@ -990,6 +989,10 @@ html.ms .propform { li { max-width: 100%; + + &:not(.recipient) { + user-select: text; + } } input { diff --git a/skins/elastic/ui.js b/skins/elastic/ui.js index d4553c181..da780a190 100644 --- a/skins/elastic/ui.js +++ b/skins/elastic/ui.js @@ -3112,9 +3112,9 @@ function rcube_elastic_ui() */ function recipient_input(obj) { - var list, input, + var list, input, selection = '', input_len_update = function() { - input.css('width', Math.max(40, input.val().length * 15 + 25)); + input.css('width', Math.max(5, input.val().length * 15 + 10)); }, apply_func = function() { // update the original input @@ -3207,7 +3207,9 @@ function rcube_elastic_ui() list = $('