Spacebar Not Working in Inline Text Editor for bpmn2.Activity Shape
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 5.4k
- Forks
- 893
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 26
Description
Current versus expected behaviour
When using the inline text editor for the bpmn2.Activity shape in JointJS, pressing the spacebar does not insert a space. This issue prevents users from adding spaces between words, which is essential for proper text formatting. Additionally, sometimes the input behaves erratically.
Steps to reproduce
- Add keyboard event linstener.
- Insert Activity.
- Click activity then press f2 to open inline text editor.
- Trying edit activity's label/text. but space bar is not working. Additionally, sometimes the input behaves erratically.
- Learn - Inline text editing(v4.0) is have same problem.
Version
JointJS+ 4.0.1
What browsers are you seeing the problem on?
Chrome, Microsoft Edge
What operating system are you seeing the problem on?
Windows
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.
Research direction
Reproduce the issue using the listed keyboard event listener, bpmn2.Activity shape, and F2 inline text editor steps. Start by tracing keyboard handling in the inline text editor; done means spaces can be entered reliably in the activity label and the erratic input behavior is resolved in Chrome and Edge on Windows.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100