Skip to content

Conversation

geolehmann
Copy link

This small PR clears the hidden <input> element, when it is focused (not the actual TextEdit, just the helper element for Web). This prevents that content from one TextEdit is leaked into another one.

Copy link

Preview is being built...

Preview will be available at https://egui-pr-preview.github.io/pr/7633-text-edit-fix

View snapshot changes at kitdiff

@Mingun
Copy link
Contributor

Mingun commented Oct 14, 2025

Probably you want to synchronize visible content with input control instead. What if you have only one TextEdit? Your fix will clear it each time when application unfocused (for example, when switch to another application)?

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