We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hi,
I don't understand why the style attribute disappears when a component renders a vnode that produces the same attribute value.
Code to reproduce the issue:
Expected behavior: Maybe the style attribute should stay the same like with snabbdom :
Actual behavior: style attribute is removed when app is started
Versions of packages used: @cycle/dom 22.3 @cycle/run 5.2
The text was updated successfully, but these errors were encountered:
Ok, it only happens when the root element is minified.
This works:
<div class="root"> <div style="color: green">he</div> </div>
Defined in one line, it removes the style attribute:
<div class="root"><div style="color: green">he</div></div>
Sorry, something went wrong.
Got it! The problem is resolved when AttrsModule is loaded before StyleModule:
No branches or pull requests
Hi,
I don't understand why the style attribute disappears when a component renders a vnode that produces the same attribute value.
Code to reproduce the issue:
Expected behavior:
Maybe the style attribute should stay the same like with snabbdom :
Actual behavior:
style attribute is removed when app is started
Versions of packages used:
@cycle/dom 22.3
@cycle/run 5.2
The text was updated successfully, but these errors were encountered: