clientIO / clientIO/joint

Spacebar Not Working in Inline Text Editor for bpmn2.Activity Shape

Open
#2,816 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug
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.
image

Steps to reproduce
  1. Add keyboard event linstener.
    image
  2. Insert Activity.
  3. Click activity then press f2 to open inline text editor.
  4. 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.
    image
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.