Thanks to visit codestin.com
Credit goes to github.com

Skip to content

MudButtonGroup: Fix tooltip wrapped icon button alignment#13292

Merged
danielchalmers merged 1 commit into
MudBlazor:devfrom
tuncaypeker:fix/7003-button-group-tooltip-icon-button-borders
Jun 18, 2026
Merged

MudButtonGroup: Fix tooltip wrapped icon button alignment#13292
danielchalmers merged 1 commit into
MudBlazor:devfrom
tuncaypeker:fix/7003-button-group-tooltip-icon-button-borders

Conversation

@tuncaypeker

Copy link
Copy Markdown
Contributor

Description

Fixes tooltip-wrapped mixed MudIconButton and MudButton content inside MudButtonGroup.

The tooltip wrapper was rendered as a direct child of the button group, which could prevent wrapped icon buttons from stretching consistently with regular buttons. Making direct tooltip wrappers flex items inside the button group keeps the button borders aligned.

Fixes #7003

How Has This Been Tested?

  • dotnet build src\MudBlazor\MudBlazor.csproj --no-restore --nologo
  • dotnet build src\MudBlazor.UnitTests\MudBlazor.UnitTests.csproj --no-restore /p:SkipBunCompile=true --nologo
  • dotnet run --project src\MudBlazor.UnitTests\MudBlazor.UnitTests.csproj --no-build --no-restore -- --filter "FullyQualifiedName~ButtonGroupTests" --output Normal --no-ansi --hangdump --hangdump-timeout 30s
  • Verified visually in MudBlazor.UnitTests.Viewer with mixed tooltip-wrapped icon and text buttons.

@mudbot mudbot Bot changed the title ButtonGroup: Fix tooltip wrapped icon button alignment (#7003) MudButtonGroup: Fix tooltip wrapped icon button alignment Jun 16, 2026
@mudbot mudbot Bot added the bug Unexpected behavior or functionality not working as intended label Jun 16, 2026
@danielchalmers

Copy link
Copy Markdown
Member

Hi! Could you post a before and after video/screenshots?

@mudbot mudbot Bot added the needs: visuals Missing screenshots or video for UI bugs or design changes label Jun 18, 2026
@tuncaypeker

Copy link
Copy Markdown
Contributor Author

Hi! I've added after screenshot.

Before: original screenshot from #7003 showing the border mismatch with tooltip-wrapped mixed MudIconButton and MudButton.

After: updated ButtonGroupTooltipsTest in the test viewer.

after

@danielchalmers danielchalmers removed the needs: visuals Missing screenshots or video for UI bugs or design changes label Jun 18, 2026
@danielchalmers danielchalmers merged commit 7a6939b into MudBlazor:dev Jun 18, 2026
12 checks passed
@danielchalmers

Copy link
Copy Markdown
Member

Thank you!

This was referenced Jun 27, 2026
This was referenced Jul 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Unexpected behavior or functionality not working as intended

Projects

None yet

Development

Successfully merging this pull request may close these issues.

MudButtonGroup with a mix of MudIconButtons and MudButtons have misaligned borders

2 participants