jasonslyvia / jasonslyvia/react-anything-sortable
Problem with Contenteditable div
- Dominant language
- JavaScript
- Stars
- 457
- Forks
- 82
- PR merge metrics
- No merged PRs in 30d
Description
I'm in a situation where I need to render a contenteditable div.
So, just tried it by adding contenteditable div in demoItem.js. Then, whenever I click inside the div, cursor focuses at starting point of the text, not at the place where I clicked.
Please help me out.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the behavior described in demoItem.js, where the contenteditable div was added, and inspect how the component handles focus and selection. Done means clicking within the div places the cursor at the clicked text position rather than always at the start; no test file is mentioned in the issue.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, react
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100