desktop: Cannot insert text to search text

Summary

When entering text to the top right search, the cursor moves to end of the text when I try to insert text to middle.

Hangul(Korean characters) is worse, I cannot enter text completely. Enter 한글 is going to ㄹㅡㄱㄴㅏㅎ

Steps to reproduce

Reproduced on:

  • OS: Windows 10 & Ubuntu Xenial
  • Client: Desktop App v4.0.0 (not reproduced on browsers)
  1. Enter search text
  2. Move the cursor position to middle/start of the text
  3. Enter text into cursor position

Expected behavior

Entered text into the cursor position

Observed behavior (that appears unintentional)

The cursor moves back to end of text when I enter any text more.

About this issue

  • Original URL
  • State: closed
  • Created 6 years ago
  • Comments: 31 (26 by maintainers)

Most upvoted comments

@cometkim @yuya-oc This PR will fix it for Mattermost server v4.9 and later https://github.com/mattermost/mattermost-webapp/pull/1027

insert-search-test

desktop app v4.0.0 on windows and ubuntu at pre-release (4.8.0-rc3)

It isn’t reproduced with Mattermost v4.6.0