Skip to content

fix(input): handle padded NativeTextBoxInfo constructor - #154

Merged
CoderDayton merged 2 commits into
mainfrom
fix/textbox-invisible-153
Dec 1, 2026
Merged

CoderDayton merged 2 commits into
mainfrom
fix/textbox-invisible-153

Conversation

@dim-ghub

@dim-ghub dim-ghub commented Dec 1, 2026

Copy link
Copy Markdown
Collaborator

Fixes text overlays not rendering

Closes #153

dim-ghub and others added 2 commits November 30, 2026 23:08
Roblox's UseUIPaddingInNativeInputs4 flag switches NativeTextBoxInfo to the 19-argument constructor (FFFFFZIIIIIIZZZFFFF)V, appending paddingLeft, paddingTop, paddingRight and paddingBottom. The JNI VM only recognized the 14- and 15-argument overloads, leaving all fields zero (geometry=0,0 0x0) and hiding typed text while input still reached Roblox.

Recognize the padded overload (and future trailing-argument overloads), propagate the UIPadding floats through the TextBox snapshot/editor pipeline, and apply them as clamped inner clip insets in the text overlay rasterizer.

Fixes #153
@CoderDayton
CoderDayton merged commit 65cf2fb into main Dec 1, 2026
6 checks passed
@CoderDayton
CoderDayton deleted the fix/textbox-invisible-153 branch December 1, 2026 05:32
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.

[Bug]: Search textbox text is invisible while suggestions still appear on Nightcap (Fedora 45, Wayland)

2 participants