-
Notifications
You must be signed in to change notification settings - Fork 21
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
Fix to load new themes #1
base: transpiled
Are you sure you want to change the base?
Fix to load new themes #1
Conversation
themeCache would cache previously used styles even if the theme was changed. With this change, styles are recalculated from the top but parent lookups will still be fetched from the cache as before.
@shivrajkumar Any updates on this PR |
Having this issue as well. This patch works for me. Thanks @chaitanya0bhagvan hopefully it gets merged one day. |
I am having an issue with dynamic custom themes and this helped me. Thanks @chaitanya0bhagvan |
+1 We would benefit from this patch as well. |
+1 Also it would be great to have API to invalidate the cache somehow. |
+1 |
+1 Still a problem here |
themeCache would cache previously used styles even if the theme was changed. With this change, styles are recalculated from the top but parent lookups will still be fetched from the cache as before.