decaporg / decap-cms

A Git-based CMS for Static Site Generators
https://decapcms.org
MIT License
17.97k stars 3.05k forks source link

Cursor Jumps to End of Text Field While Editing Content #6867

Closed Bilal-Bangash closed 1 year ago

Bilal-Bangash commented 1 year ago

When editing content, specifically within the body field, the cursor behavior is unpredictable. If I'm editing a paragraph in the middle, the cursor often jumps and places itself at the end of the content, disrupting the editing process.

Steps to Reproduce:

Navigate to the Netlify CMS dashboard. Open an existing post (or content type) for editing. Place the cursor in the middle of a paragraph within the body field. Start typing or editing the content. Observe the cursor jumping to the end of the field.

Expected Behavior:

The cursor should remain where it was placed, allowing for smooth editing of the content.

Screenshots Netlify-cms-bug

Applicable Versions:

CMS configuration ` backend: name: git-gateway branch: main commit_messages: create: "Create {{collection}} “{{slug}}”" update: "Update {{collection}} “{{slug}}”" delete: "Delete {{collection}} “{{slug}}”" uploadMedia: "[skip ci] Upload “{{path}}”" deleteMedia: "[skip ci] Delete “{{path}}”"

local_backend: true media_folder: static/images public_folder: /images

collections:

Notes:

I've attempted to diagnose this issue by:

  1. Opening the CMS in an incognito window to rule out browser extension interference.
  2. Checking for JavaScript errors in the browser console (none were found).

Would appreciate any insights or assistance!

fool commented 1 year ago

probably a duplicate of https://github.com/decaporg/decap-cms/issues/5092

martinjagodic commented 1 year ago

Closing as duplicate of #5092