
A small client-side mod that fixes widget focus issues in any in-game GUI.

In Vanilla, GUI buttons and sliders remain focused after a mouse click until another widget claims focus for every version since 1.19.4. This can be visually distracting - especially when using resource packs that change the appearance of GUI widgets. Button Fix resolves this issue by properly resetting the focus after interaction.


This fix applies to all sliders and pressable widgets in in-game GUIs - for example, the recipe book button in the inventory screen, or the buttons and sliders in the main menu, pause menu, or mod config screens - as long as they use vanilla widget implementations.
🐛 Bug report: MC-259387

How to Install Button Fix (Mod)
Button Fix by BeagleNF404 is verified for Fabric, Forge, Neoforge, Quilt across Minecraft versions 1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6 (latest release: 1.1.0-forge+1.21.6-26.3, file size: 19 KB). Follow the steps below to install it safely from ModCraft.tv:
- Click the Download button above and select your Minecraft version (1.19.4, 1.20, 1.20.1, 1.20.2, 1.20.3, 1.20.4, 1.20.5, 1.20.6) and platform (Fabric, Forge, Neoforge, Quilt).
- Make sure you have the compatible loader or environment installed for Fabric, Forge, Neoforge, Quilt.
- Move the downloaded Button Fix file into your Minecraft
.minecraft/modsfolder and launch the game.


