Skip to content

Cursor overlaps label text instead of value on ITEM_RANGE edit #397

@XerXes777

Description

@XerXes777

What happened?

When editing a menu item created with ITEM_RANGE or ITEM_RANGE_REF, and the label exceeds >13 characters on a 16×2 character display, the cursor is placed over the label instead of the value. This causes the value (e.g., a number or percentage) to be hidden or overwritten during editing.

This makes it hard or impossible to see what value is currently being edited.

Steps to reproduce:

Use a 16×2 character display

Create a menu item using ITEM_RANGE or ITEM_RANGE_REF with a label longer than 13 characters

Compile and upload

Navigate to the item and enter edit mode

Cursor appears on the label, not the value → value not visible

Expected behavior:
The cursor should appear on the value field, and the value should remain fully visible when the item is in edit mode. Either the label should be truncated or the view shifted accordingly.

Version: 5.12.1

Version

  • I have checked that I am using the latest version of the library.

What environment are you seeing the problem in?

No response

Board type

ESP32-S3 (ESP32S3-WROOM-1)

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions