Updating content externally or using DynamicFormControlComponent causes the cursor to jump to the start
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- angular, typescript
- Domain
- frontend
Research direction
Start with the linked CodeSandbox and reproduce the cursor jump while typing, using DynamicFormControlComponent, and during an external subscription update. Trace the Angular component's value-update handling; done means each update preserves the cursor position instead of moving it to the start, including on Angular 13 and latest.
Written by the indexing model from the issue text.
Description
Updating content externally or using DynamicFormControlComponent to update the value causes the cursor to jump to the start of the rich text editor. This issue also happens if there is another subscription firing to update the value somehow while typing
https://codesandbox.io/s/tinymce-angular-forked-sdwgoj
while typing it should not jump to the start, updating the value externally should not jump to the start, and after updating the value it should not jump to the start
Version 6.0.0 on Angular 13 and latest
- Dominant language
- TypeScript
- Stars
- 346
- Forks
- 94
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from tinymce/tinymce-angular
-
Excessive nested span tags generated when repeatedly copy-pasting text with white background color Openneeds: more info
Difficulty 4/5 3-5 days Newbie friendliness 38/100
tinymce/tinymce-angular#420 · 1 comment ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
tinymce/tinymce-angular#413 · 1 comment ·
-
needs: more info
Difficulty 4/5 3-5 days Newbie friendliness 42/100
tinymce/tinymce-angular#412 · 3 comments ·
-
GitHub status: escalated
Difficulty 4/5 3-5 days Newbie friendliness 35/100
tinymce/tinymce-angular#167 · 11 comments · 1 reaction ·
All issues in tinymce/tinymce-angular
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
0xMiden/bridge-portal#132 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
-
area:tools bug good first issue help wanted priority:P2
Difficulty 2/5 1-3 hours Newbie friendliness 90/100
TaewoooPark/Motifcode#14 ·
-
bug
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
newrelic-experimental/preflight#793 · 1 comment ·