You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
docs: add new docs for new Menu features BLZ-3583 - #3958
The reason will be displayed to describe this comment to others. Learn more.
🟡 Changes recommended
Sizing documentation remains in legacy parameter tables contrary to overview-page guidance, and the template index does not follow the required alphabetical order.
This PR expands the Telerik UI for Blazor documentation for new Menu and Context Menu features, including sizing, descriptions, item actions, and group headers.
Changes:
Documents size settings and new data-binding fields.
Adds template guidance, context properties, and demo references.
Clarifies group-header accessibility and keyboard-navigation behavior.
File
Description
components/menu/templates.md
Documents item actions and group-header templates.
| `Class` | `string` | Renders an additional CSS class to the main wrapping element of the component. Use it to apply custom styles or [override the theme](slug:themes-override). |
| `Selector` | `string` | A CSS selector of the target elements where the Context Menu will be shown.|
| `Size` | `string` <br /> (`ThemeConstants.Menu.Size.Medium`) | The size of the Context Menu items. Use the members of the `ThemeConstants.Menu.Size` class: `Small`, `Medium`, or `Large`. When set to `null`, the component renders no size CSS class. [Read more about the Menu appearance](slug:components/menu/appearance). |
| `CloseOnClick` | `bool` | Determines whether the Menu popups should close when they are clicked. |
| `ShowOn` | `MenuShowEvent` enum <br /> (`MouseEnter`) | The browser event that will trigger child Menu items to show (mouse enter or click). |
| `HideOn` | `MenuHideEvent` enum <br /> (`MouseLeave`) | The browser event that will trigger child Menu items to hide (mouse leave or click). |
| `Size` | `string` <br /> (`ThemeConstants.Menu.Size.Medium`) | The size of the Menu items. [Read more about the Menu appearance](slug:components/menu/appearance). |
The reason will be displayed to describe this comment to others. Learn more.
🔵 Needs a closer look
The API link in components/menu/appearance.md needs to preserve the casing of Telerik.Blazor.ThemeConstants.Menu.Size rather than use a lowercase target.
Preserve the API type's casing in this slug: Telerik.Blazor.ThemeConstants.Menu.Size. The lowercase target does not match the type identifier. Existing ThemeConstants API references use the fully qualified, case-preserving identifier (for example, components/form/appearance.md:20 and components/treeview/overview.md:68); use the same format here to target the intended API entry.
The reason will be displayed to describe this comment to others. Learn more.
🔵 Needs a closer look
The sizing documentation misleadingly implies that Size="@null" removes base theme styling and places API details in overview tables contrary to the overview-page guidance.
Clarify that base theme styles remain when Size is null
components/menu/appearance.md:34
Removing the size CSS class does not remove the Menu's base theme styles for colors, backgrounds, borders, and layout. Saying that items rely only on custom CSS incorrectly suggests that Size="@null" produces an unstyled Menu. Clarify that base theme styles remain and custom CSS can control item sizing.
The reason will be displayed to describe this comment to others. Learn more.
🔵 Needs a closer look
Human assessment is needed to evaluate unpublished documentation findings about independent component sizing and theme styles that remain when Size is null.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes https://progresssoftware.atlassian.net/browse/BLZ-3583