-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
[BUG] The $vars widget kills the transitions effects #5394
Comments
This is the same for |
@kookma use this instead:
I'll add an explanation a little later today as to why this happens. I think we discussed something similar once before. |
@kookma so all widgets that set variable values, like So in your example the entire Now what most users do not realize is that all HTML in TiddlyWiki is actually also rendered by widgets. All HTML users type is parsed into hidden/private When the attribute for a HTML element (that is an element widget) changes, the attribute is updated and there is no need to destroy and re-create its content. This is why you can specify your filter directly as a style attribute for the div, and still get CSS animation. This is written in a bit of a rush, but I hope it gets the point across. |
@saqimtiaz - Thank you! |
@kookma if the problem is resolved please close the issue :) |
@saqimtiaz - I close the issue here! but I think it worth discussion to see what is the real problem. |
Describe the bug
I am implementing a progress bar using pure wikitext and CSS. When I use $vars widget, CSS transition does not work. See below example.
To Reproduce
Steps to reproduce the behavior:
It works fine and animation/transition nicely works.
$vars
for setting style, eg changewith
Expected behavior
To see the transition effects
Desktop (please complete the following information):
The text was updated successfully, but these errors were encountered: