How to toggle CSS with conditional #9863
Answered
by
rigor789
CosmanAgraz
asked this question in
Q&A
|
I'm trying to implement a module very similar to the one shown here I have a list of items, and multiple items can be selected. However, when I add a conditional to a class prop, the CSS does not update, only after a page refresh. I managed to fix this issue by forcing a page refresh, but performance slowed waaaayyy down and I'm just wondering why is it that Image src prop can be updated without needing to refresh but not the class prop. |
Answered by
rigor789
Apr 13, 2022
Replies: 1 comment 1 reply
|
If you could share a bit of your code, would help us understand what's going on. Class bindings should generally work in lists. |
1 reply
Answer selected by
CosmanAgraz
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If you could share a bit of your code, would help us understand what's going on. Class bindings should generally work in lists.