MudBlazor/MudBlazor
Rating control still applies hover CSS when ReadOnly=true
已关闭
#13,265 创建于 2026年6月2日
buggood first issue
仓库指标
- 星标
- (10,394 个星标)
- PR 合并指标
- (PR 指标待抓取)
描述
Before reporting
- I searched existing issues
- I tried in private/incognito browser
What went wrong?
The rating/star control has a setting ReadOnly=true, which removes all interactions with the control.
However, if you mouse-over the stars, they still change with the hover CSS, filling in solid yellow and growing larger. If it is properly readonly, they should not have the hover style applied.
Reproduction link
Reproduction steps
To see this happen, just go to the MudBlazor Rating docs page or the snippet above, and move your mouse over the Read-Only version of the control.
Version (bug)
v9.5
Version (working)
No idea.
Environment
Chrome
Blazor rendering mode
WASM