Skip to content

fix: Make MenuItem methods toggle classes immediately#9570

Merged
gonfunko merged 4 commits intomainfrom
menu-item
Jan 20, 2026
Merged

fix: Make MenuItem methods toggle classes immediately#9570
gonfunko merged 4 commits intomainfrom
menu-item

Conversation

@gonfunko
Copy link
Contributor

The basics

The details

Resolves

Fixes #8801

Proposed Changes

This PR makes the various methods on MenuItem that toggle properties like checking, enabling, RTL, etc immediately update the state of the menu item without requiring the entire menu to be torn down and recreated to reflect the new state. It also adds tests for MenuItem.

@gonfunko gonfunko requested a review from a team as a code owner January 14, 2026 21:26
@gonfunko gonfunko requested a review from maribethb January 14, 2026 21:26
@github-actions github-actions bot added the PR: fix Fixes a bug label Jan 14, 2026
@gonfunko gonfunko merged commit e4b2f0a into main Jan 20, 2026
7 checks passed
@gonfunko gonfunko deleted the menu-item branch January 20, 2026 19:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

PR: fix Fixes a bug

Projects

None yet

Development

Successfully merging this pull request may close these issues.

CSS classes/state aren't updated when menu items are modified

2 participants