Opened 10 years ago
Last modified 8 years ago
#13593 review Bug
Fire editor#selectionChange on selection changes caused by touch events — at Initial Version
Reported by: | Piotrek Koszuliński | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | General | Version: | |
Keywords: | iOS Android NiceToHave | Cc: |
Description
Currently editor#selectionChange is based on:
- native selectionchange,
- keyboard events,
- mouse events.
Therefore, CKEditor does not know about selection changes done on touch devices if browser does not implement selectionchange itself. It may also happen that we have some bugs in this system.
Lack of editor#selectionChange and checkSelectionChange() calls result in various issues like wrong selection being locked on focus (we store a reference to the last selection) and lack of updates in commands states. I think that related tickets may be: