Skip to content

YACL dependent switches do not refresh immediately in OneConfig UI #1071

Description

@Leefy1

Original reporter & ticket id

No response

Category

Interface

Bug description

In a mod with a YACL config screen, toggling a master checkbox programmatically changes several dependent child checkboxes.
When opened through Mod Menu, every visible child checkbox updates immediately. In OneConfig’s UI, the underlying values change correctly, but already-visible child checkboxes do not redraw until they are scrolled out of view and back.

Steps to reproduce

  1. Install Fabric with OneConfig, Mod Menu, YACL, and any mod whose YACL config has a master checkbox that changes child checkbox values programmatically.
  2. Open that mod’s config through OneConfig’s UI.
  3. Open the category containing the master checkbox and child options.
  4. Make several child checkboxes visible on screen.
  5. Toggle the master checkbox.

Actual result: the visible child checkboxes keep their old appearance. Scroll them out of view and back to see their updated state.
Expected result: every visible child checkbox updates immediately.

Mods list: Fabric API 0.160.0+26.2, OneConfig v1.1.15, Mod Menu 20.0.1, YetAnotherConfigLib 3.9.6+26.2-fabric, and the affected mod.

Anything else?

No response

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    • Status
      No status

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions