Skip to content
This repository has been archived by the owner on Jun 26, 2020. It is now read-only.

Remove selection contents on keydown before composition #158

Merged
merged 8 commits into from
Jun 28, 2018
Merged

Conversation

f1ames
Copy link
Contributor

@f1ames f1ames commented Jun 22, 2018

Suggested merge commit message (convention)

Type: Remove selection contents on keydown before composition. Closes ckeditor/ckeditor5#3080. Closes ckeditor/ckeditor5#3120.

BREAKING CHANGE: TODO (changebuffer)


Additional information

See ckeditor/ckeditor5#3080 for more details. Entire flow is described in this https://github.com/ckeditor/ckeditor5-typing/issues/83#issuecomment-398690251. There are two small issues in Chrome and Edge - https://github.com/ckeditor/ckeditor5-typing/issues/83#issuecomment-399046255 related to some different stuff.

Chrome issue will be fixed by https://github.com/ckeditor/ckeditor5-engine/issues/1425 as mentioned in https://github.com/ckeditor/ckeditor5-typing/issues/83#issuecomment-399091785.

Edge issue was reported so we may give it some time - https://github.com/ckeditor/ckeditor5-typing/issues/83#issuecomment-399422265.

@coveralls
Copy link

coveralls commented Jun 22, 2018

Coverage Status

Coverage remained the same at 100.0% when pulling 093d037 on t/83 into 967add0 on master.

@f1ames
Copy link
Contributor Author

f1ames commented Jun 26, 2018

I have discovered one issue with the current solution. The thing is it fixes #130, however the composition panel appears in a strange location:

chrome image ime

I may try do dig a little bit deeper into this.

@f1ames
Copy link
Contributor Author

f1ames commented Jun 26, 2018

@f1ames
Copy link
Contributor Author

f1ames commented Jun 26, 2018

It seems that _keydownHandler which removes selection content on 229 key (which is standard key code for Android while typing) cause some problems with autocompletion/suggestions:

gif-180626_132802

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
3 participants