Skip to content

First letter of search draft is removed when closing chat - 215.6.14-secure - 1.21.5 #229

Open
@collin-b1

Description

@collin-b1

Description

With search drafting enabled, closing out of chat will remove the first character from the search box. Opening and closing chat repeatedly will eventually remove the entire draft.

How to reproduce

  1. Enable Search drafting toggle in settings (on by default)
  2. Open chat
  3. Enter some characters into the search box
  4. Close out of chat (by pressing escape or sending a message)
  5. Open chat again, and the search string will now be missing the first character. For example, Search -> earch.

Expected result

Drafting should keep the whole search string instead of removing the first letter.

Log file link

Probably not applicable, but: https://mclo.gs/ZLOXprf

Specs and Details

Required information:

  • OS: Windows 11 Pro 10.0.22631 Build 22631
  • Mod version: 215.6.14-secure
  • Fabric version: 0.16.14
  • Fabric API version: 0.121.0+1.21.5
  • YetAnotherConfigLib version: 3.6.6+1.21.5-fabric
  • Mod Menu version: 14.0.0-rc.2

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working or is broken/crashing

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions