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
**I'm submitting a bug report
When styles change in a view function, they take 2 updates to appear in the DOM. An example project demonstrating this behavior in a minimal fashion can be found here: https://github.com/hgzimmerman/yew_styles_dont_apply_minimal_example
Updating styles should appear immediately.
A function returning true for its ShouldRender output needs to run twice to cause the styles to update. Only running it once will not cause an update.
true
ShouldRender
cargo-web: 0.6.26
browser if relevant Firefox, Chromium (probably not relevant)
The text was updated successfully, but these errors were encountered:
Successfully merging a pull request may close this issue.
Description
**I'm submitting a bug report
When styles change in a view function, they take 2 updates to appear in the DOM.
An example project demonstrating this behavior in a minimal fashion can be found here:
https://github.com/hgzimmerman/yew_styles_dont_apply_minimal_example
Expected Results
Updating styles should appear immediately.
Actual Results
A function returning
true
for itsShouldRender
output needs to run twice to cause the styles to update.Only running it once will not cause an update.
Context (Environment)
cargo-web: 0.6.26
browser if relevant
Firefox, Chromium (probably not relevant)
The text was updated successfully, but these errors were encountered: