Skip to content

Conversation

@ealmloff
Copy link
Member

@ealmloff ealmloff commented Apr 3, 2025

When static styles are set in the template and dynamic styles are set dynamically after the template is cloned, the static styles are overwritten. This PR fixes that issue by merging the two styles. It also adds a regression test to our playwright tests

Fixes #3887

@ealmloff ealmloff added the bug Something isn't working label Apr 3, 2025
@ealmloff ealmloff requested a review from a team as a code owner April 3, 2025 13:23
@jkelleyrtp jkelleyrtp merged commit ad63d52 into DioxusLabs:main May 7, 2025
14 of 17 checks passed
AnteDeliria pushed a commit to AnteDeliria/dioxus that referenced this pull request Jun 2, 2025
* Merge static and dynamic styles

---------

Co-authored-by: Jonathan Kelley <[email protected]>
AnteDeliria pushed a commit to AnteDeliria/dioxus that referenced this pull request Jul 23, 2025
* Merge static and dynamic styles

---------

Co-authored-by: Jonathan Kelley <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Static attributes in style namespace ignored if style attribute used

2 participants