Toggle Fix
by uOrb
Toggle Fix corrects how Toggle Sprint and Toggle Sneak behave when a key is bound to a mouse button, so the toggle state survives opening a screen.
What it does
Toggle Fix addresses MC-301281, where toggle stats reset when a screen opens with a mouse-bound key. Minecraft also clears toggle states when a screen is opened, and the fix prevents that clearing. Keyboard toggles are restored afterward, while mouse-bound toggles are not affected by the fix's restoration step. The mod is a client-side only Fabric mod, so it changes nothing on a server, and the code is licensed under the MIT License, which means it is not open source. Files exist for 1.21.9, 1.21.10, 1.21.11 and 26.1.2, with 1.0.0 for 26.1.2 as the latest file.
Key features
Mouse-bound toggle fix
Toggle states bound to mouse buttons no longer reset when an inventory or other screen opens.
Identical sprint and sneak behavior
Toggle Sprint and Toggle Sneak respond the same way whether the key is bound to a keyboard or a mouse.
Screen-open state handling
Toggle states are kept through screen transitions instead of being cleared by the game.
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
How it compares
Keyboard Place Fix is a Fabric client-side mod released under the MIT License, not open source, for 1.21 – 26.2, and it targets placement rather than toggles. Toggle Key Fix is open source under the GNU Lesser General Public License v3.0 only and covers 1.21.11 alone, so it is the narrower choice for that version.
| Mod | Loaders | Game versions | Environment | Updated |
|---|---|---|---|---|
| Toggle Fix | Fabric | 1.21.9 – 26.1.2 | Client-side only | 2026-07-11 |
| Keyboard Place Fix | Fabric | 1.21 – 26.2 | Client-side only | 2026-08-17 |
| Toggle Key Fix | Fabric | 1.21.11 | Client-side only | 2026-01-13 |
Questions
Does Toggle Fix need Fabric API?
In the catalog
Toggle Fix is one of 3,545 Optimization mods on ModsFinder, and one of 2,575 Optimization mods for Fabric. 15,189 mods support Minecraft 26.1.2.
More from uOrb
Similar mods
What the author says
⦁ Prevents Minecraft from clearing toggle states when a screen is opened. ⦁ Ensures Toggle Sprint / Toggle Sneak behave identically on keyboard and mouse.
Official listing
- Modrinth page
- modrinth.com/mod/toggle-fix
- Owner
- uOrb
- Published
- 2026-01-18
- Updated on Modrinth
- 2026-07-11
- Facts verified
- 2026-10-15
