Number input: Wrap is lost under a soft limit when dragging
Maintainers usually reply within 2 days
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 78/100
Research direction
Start by locating emit_drag_value_change and reading how it applies SoftLimit and NumberInputWrap; compare that behavior with the typed value path. Skip the soft clamp when wrapping is enabled, then verify that dragging wraps at the ends while non-wrapping inputs still respect their soft limits.
Written by the indexing model from the issue text.
Description
Bevy version and features
0.20
What you did
Created a number input with both a soft limit and wrap options.
What went wrong
emit_drag_value_change clamps to the SoftLimit before applying NumberInputWrap. So an input with both the slider look and wrap stops at its ends while dragged, even though typed values wrap.
Fix: skip the soft clamp when wrapping.
- Dominant language
- Rust
- Stars
- 49.3k
- Forks
- 5k
- Avg merge
- 4d 3h
- Merged PRs (30d)
- 145
Getting set up
- No Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from bevyengine/bevy
-
A-Camera C-Docs D-Straightforward S-Ready-For-Implementation
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
bevyengine/bevy#26309 ·
Maintainers usually reply within 2 days
-
A-Rendering C-Bug C-Performance S-Ready-For-Implementation
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
bevyengine/bevy#26283 · 5 comments ·
Maintainers usually reply within 2 days
-
A-Dev-Tools C-Bug D-Straightforward S-Ready-For-Final-Review X-Uncontroversial
Difficulty 1/5 Under an hour Newbie friendliness 87/100
bevyengine/bevy#26275 · 1 comment ·
Maintainers usually reply within 2 days
-
C-Feature S-Needs-Triage
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
bevyengine/bevy#26153 ·
Maintainers usually reply within 2 days
-
"Confirmation frames" in loading screen example are unclearMay be free again @GauravPawar101 claimed this 22 days ago, and no pull request is open. OpenA-Assets C-Docs C-Examples S-Ready-For-Implementation
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
bevyengine/bevy#26027 · 1 comment · 1 reaction ·
Maintainers usually reply within 2 days
Similar issues
-
bug duplicate enhancement priority: low ui
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
storytold/pdfcraft#5594 · 1 comment ·
Maintainers usually reply within 1 day
-
documentation good first issue help wanted
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 85/100
open-jarvis/OpenJarvis#1212 ·
Maintainers usually reply within 4 days
-
bug good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
CakeRepository/agentshangout#38 ·
Maintainers usually reply within 1 day