Skip to content

Skeleton: Allow changes after initialization#8178

Merged
henon merged 2 commits intoMudBlazor:devfrom
VStefanWeber:fix/skeleton-apply-styles
Feb 15, 2024
Merged

Skeleton: Allow changes after initialization#8178
henon merged 2 commits intoMudBlazor:devfrom
VStefanWeber:fix/skeleton-apply-styles

Conversation

@VStefanWeber
Copy link
Contributor

Description

Skeleton applies new styles after initialization now. Before the skeleton styles were applied just once at initialization and no changes were possible afterwards.

How Has This Been Tested?

I added new unit test module (none was existing for skeleton before). It contains three tests which test the parameters Width, Height, Style after initialization and after a further update of the parameter afterwards.
The tests will fail without the fix.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Checklist:

  • The PR is submitted to the correct branch (dev).
  • My code follows the code style of this project.
  • I've added relevant tests.

@github-actions github-actions bot added bug Unexpected behavior or functionality not working as intended PR: needs review labels Feb 14, 2024
@ScarletKuro ScarletKuro requested a review from henon February 14, 2024 09:27
@henon henon changed the title Skeleton: Fix apply styles after initialization Skeleton: Fix apply changes after initialization Feb 15, 2024
@henon henon changed the title Skeleton: Fix apply changes after initialization Skeleton: Allow changes after initialization Feb 15, 2024
@henon henon merged commit 820ff04 into MudBlazor:dev Feb 15, 2024
@henon
Copy link
Contributor

henon commented Feb 15, 2024

@VStefanWeber thanks!

@ScarletKuro
Copy link
Member

Thanks, it's much clean now.

biegehydra pushed a commit to biegehydra/MudBlazor that referenced this pull request Apr 26, 2024
* Skeleton: Fix applying style after initialization

* Skeleton: Add more unit tests
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.

3 participants