ModsFinder

No Chat Autofocus

by ahmadinne

No Chat Autofocus stops the chat box from grabbing keyboard focus when a player is asleep or presses keys by accident, so stray keystrokes do not open a message by mistake.

FabricClient-side onlyMIT LicenseOpen source26.1.2 – 26.2

What it does

The mod changes one piece of vanilla chat behavior: the text field no longer takes focus automatically in the situations where typing would start a message unintentionally. Pressing Escape removes focus from an open text field. The mod is a Fabric client mod for 26.1.2 and 26.2, released under the MIT License and open source, and only the client needs it.

Key features

  1. No accidental chat while sleeping

    Keystrokes made while a player is in bed no longer open the chat menu, which avoids stray messages.

  2. Escape releases the text field

    Pressing Escape takes focus away from an open chat text field, so the next key goes to the game.

  3. Lightweight fix

    The mod is small and changes only the chat focus behavior, leaving other vanilla controls as they are.

Compatibility

Latest build for each game version and loader.

26.21.2.0+26.1.2-26.2
26.1.21.2.0+26.1.2-26.2
ReleaseBetaAlphaNot available

Only full game releases are shown. This mod publishes no snapshot builds.

In the catalog

No Chat Autofocus is one of 8,016 Management mods on ModsFinder, and one of 5,930 Management mods for Fabric. 13,894 mods support Minecraft 26.2.

Similar mods

What the author says

This simple lightweight mod fixes that annoying vanilla behavior! Now, you have full control over when the chat menu open while you're sleeping, putting an end to accidental text inputs and messy mistypes.
ahmadinne, on the Modrinth page

Official listing

Owner
ahmadinne
Published
2026-07-27
Updated on Modrinth
2026-08-10
Facts verified
2026-10-15

Tags