Skip to content

Conversation

@rparrett
Copy link
Owner

@rparrett rparrett commented Jan 6, 2026

Noticed this while investigating Bevy 0.18-rc's broken fonts.

The text input has the following spans:

  • root span
    • pre-cursor
    • cursor
    • post-cursor

And we were indexing into them incorrectly, writing into the root span, which is meant to be empty.

This oddly did not seem to be causing any problems. It's possible that update_style is doing work when it shouldn't be and hiding the problem, but I didn't look into it.

@rparrett rparrett merged commit 16e4efc into main Jan 6, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants