Toggle Fix
Fixes MC-301281: Toggle stats reset when opening screens with mouse-bound keys.
- Loaders
- Fabric
- Downloads on Modrinth
- 1.1K
- Followers on Modrinth
- 3
- versions
- 4
- Updated
- July 11, 2026Jul 11
- Published
- in 2026
At a glance
Install in the game only; not needed on the server
Toggle Fix – Fixes Toggle Sprint for Mouse Buttons (MC‑301281) Toggle Fix resolves a long‑standing Minecraft issue where Toggle Sprint (and other toggle keybinds) stop working after opening any screen — but only when the keybind is assigned to a mouse button. Keyboard toggles work fine; mouse toggles do not. This mod fixes that inconsistency.
🎯 What the mod does
⦁ Prevents Minecraft from clearing toggle states when a screen is opened.
⦁ Ensures Toggle Sprint / Toggle Sneak behave identically on keyboard and mouse.
⦁ Fully client‑side and does not affect server behavior.
🧩 Technical explanation
⦁ Minecraft internally resets keybind states when opening screens.
⦁ Keyboard toggles are restored afterward — mouse toggles are not.
FAQ
How to install Toggle Fix?
Install Fabric for your Minecraft version, download Toggle Fix for the same version and loader, put the file into the mods folder and launch the game with the loader profile.
Which Minecraft versions does Toggle Fix support?
Toggle Fix has builds for Minecraft 1.21.9–1.21.11, 26.1.2.
Is Toggle Fix needed on the server?
Client only — no need to install it on the server