Skip to content

fix: disabled number input field isn't editable - #25520

Open
JasmineLowen wants to merge 1 commit into
bevyengine:mainfrom
JasmineLowen:fix-disabled-number-input-fields
Open

fix: disabled number input field isn't editable#25520
JasmineLowen wants to merge 1 commit into
bevyengine:mainfrom
JasmineLowen:fix-disabled-number-input-fields

Conversation

@JasmineLowen

Copy link
Copy Markdown
Contributor

Objective

Solution

  • The scrubber_on_release system unconditionally set the text input fields mode back to Editing even if the number input field was marked with InteractionDisabled

Testing

  • Ran the bevy_feathers gallery example both before and after this commit. The vec4 edit fields are disabled. Before the commit you could highlight AND edit the displayed numbers. After the commit you can still put the cursor into the field but can't edit it.

@JasmineLowen
JasmineLowen force-pushed the fix-disabled-number-input-fields branch from 5ac39e6 to 9832794 Compare August 23, 2026 11:01

@viridia viridia left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Excellent!

@ickshonpe ickshonpe left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good

@ickshonpe ickshonpe added C-Bug An unexpected or incorrect behavior D-Trivial Nice and easy! A great choice to get started with Bevy A-UI Graphical user interfaces, styles, layouts, and widgets S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it labels Aug 23, 2026
@github-project-automation github-project-automation Bot moved this to Needs SME Triage in UI Aug 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

A-UI Graphical user interfaces, styles, layouts, and widgets C-Bug An unexpected or incorrect behavior D-Trivial Nice and easy! A great choice to get started with Bevy S-Ready-For-Final-Review This PR has been approved by the community. It's ready for a maintainer to consider merging it

Projects

Status: Needs SME Triage

Development

Successfully merging this pull request may close these issues.

InteractionDisabled seemingly not working for NumberInputFields

3 participants