processing / processing/p5.js-web-editor

(Mobile Editor) Backspace does not remove empty lines in the Editor; it closes the keyboard.

Open
#2,529 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Area: Mobile Area:Editor Bug
Dominant language
JavaScript
Stars
1.7k
Forks
1.7k
Avg merge
3d 4h
Merged PRs (30d)
8

Description

p5.js version

1.7.0

What is your operating system?

Android

Web browser and version

Chrome V118.0.5993.80

Actual Behavior

The keyboard is closed when pressing Backspace while on an empty line.

Expected Behavior

The empty line is removed.

Steps to reproduce
  1. Open the Editor (on Android)
  2. Make a new line
  3. Remove everything in the line, and then press Backspace again when it is empty.

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

Start by reproducing the issue in the Editor on Android Chrome, following the listed steps for an empty line and Backspace. Trace the mobile editor's Backspace and keyboard handling, then verify that Backspace removes the empty line without closing the keyboard.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
frontend, mobile
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.