Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Skeleton: Allow changes after initialization #8178

Merged
merged 2 commits into from Feb 15, 2024

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 Something does not work as intended/expected PR: needs review labels Feb 14, 2024
@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
1 check passed
@henon
Copy link
Collaborator

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 Something does not work as intended/expected
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants