bevyengine / bevyengine/bevy

Text edit scrolls one character left when right-aligned and caret is at furthest right edit point

Open
#25,069 0 comments 0 reactions 0 assignees View on GitHub
A-Text C-Bug S-Needs-Investigation
Dominant language
Rust
Stars
48.2k
Forks
4.8k
Avg merge
3d 22h
Merged PRs (30d)
161

Description

## Bevy version and features

- main at fb89a8649d9b359e53ffb6e5492ebb7c059ac8af

## What you did

Right aligned text edit, for example in the main version of the multiple_text_inputs example scroll left one character width when the caret is at the furthest right position

## What went wrong

Image

(same control not selected)

Image

(same control with caret a character to left)

Image

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the issue in the multiple_text_inputs example from the main version, using a right-aligned text control and placing the caret at the furthest right edit point. Trace the text-edit scrolling behavior for that caret position. Done means the control no longer scrolls left by one character at the rightmost position, while the reported behavior remains correct when the caret moves left.

Written by the indexing model from the issue text.

Assessment

Tech stack
rust
Domain
game-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
65/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.