MudBlazor/MudBlazor
Vedi su GitHubRating control still applies hover CSS when ReadOnly=true
Closed
Aperta il 2 giu 2026
buggood first issue
Descrizione
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