bevyengine / bevyengine/bevy

Incorrect text scroll offset after pasting into a text input

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

Description

## Bevy version and features

main

## What you did

Ran:
```
cargo run --example multiple_text_inputs --features="system_clipboard"
```

Then copy and pasted the following into the first text input:
"Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua."

## What went wrong

Image

The text should fill the first input, with the view scrolled so the last line with the cursor is clamped to the bottom of the input box.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.